1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
Help on method rectangle in module SimpleCV.DrawingLayer: rectangle(self, topLeft, dimensions, color=(0, 0, 0), width=1, filled=False, alpha=-1) unbound SimpleCV.DrawingLayer.DrawingLayer method Draw a rectangle given the topLeft the (x,y) coordinate of the top left corner and dimensions (w,h) tge width and height color - The object's color as a simple CVColor object, if no value is sepcified the default is used. alpha - The alpha blending for the object. If this value is -1 then the layer default value is used. A value of 255 means opaque, while 0 means transparent. w - The line width in pixels. This does not work if antialiasing is enabled. filled -The rectangle is filled in (END) |