class documentation
A Color object models an RGB with Alpha Transparency color.
Method | __init__ |
Construct self such that it has the given red (r), green (g), blue (b), and alpha (a) components. alpha (a) defaults to 255 which is non-transparent solid color. |
Method | __str__ |
Return the string equivalent of self, that is, a string of the form '(r, g, b)'. |
Method | get |
Return the alpha transparency component of self. |
Method | get |
Return the blue component of self. |
Method | get |
Return the green component of self. |
Method | get |
Return the red component of self. |
Instance Variable | _a |
Undocumented |
Instance Variable | _b |
Undocumented |
Instance Variable | _g |
Undocumented |
Instance Variable | _r |
Undocumented |