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.
Default class constructor. |
|
Returns the wxPython |
|
Converts a RGB triplet into a HSV triplet. |
|
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.