Trees | Indices | Help |
|
---|
|
object --+ | Color
Represent a color as either an integer (colormap index), string (color name), or an RGB value (tuple/list of 3 ints, values 0-255).
Provides the following properties and methods:
When object is initialized from the RGB value, the Color.index and Color.name attributes are set to the closest color in the mmcolor palette.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
rgb_float Returns a tuple of (R, G, B) for this color, each ranging from 0.0 to 1.0. |
|||
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
str(x)
|
repr(x)
|
|
rgb_floatReturns a tuple of (R, G, B) for this color, each ranging from 0.0 to 1.0.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Oct 26 00:59:58 2016 | http://epydoc.sourceforge.net |