This is a subclass of wx.Colour
, which adds Hue, Saturation and Brightness
capability to the base class. It contains also methods to convert RGB triplets
into HSB triplets and vice-versa.
__init__ |
Default class constructor. |
GetPyColour |
Returns the wxPython wx.Colour associated with this instance. |
ToHSV |
Converts a RGB triplet into a HSV triplet. |
ToRGB |
Converts a HSV triplet into a RGB triplet. |
Colour
(wx.Colour)¶This is a subclass of wx.Colour
, which adds Hue, Saturation and Brightness
capability to the base class. It contains also methods to convert RGB triplets
into HSB triplets and vice-versa.
ToHSV
(self)¶Converts a RGB triplet into a HSV triplet.
ToRGB
(self)¶Converts a HSV triplet into a RGB triplet.