wx.Image.HSVValue¶
A simple class which stores hue, saturation and value as doubles in the range 0.0-1.0.
Class Hierarchy¶
Methods Summary¶
Constructor for wx.Image.HSVValue, an object that contains values for hue, saturation and value which represent the value of a color. |
Properties Summary¶
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
Class API¶
- class wx.Image.HSVValue(object)¶
Possible constructors:
HSVValue(h=0.0, s=0.0, v=0.0) -> None
A simple class which stores hue, saturation and value as doubles in the range 0.0-1.0.
Methods¶
- __init__(self, h=0.0, s=0.0, v=0.0)¶
Constructor for wx.Image.HSVValue, an object that contains values for hue, saturation and value which represent the value of a color.
It is used by
wx.Image.HSVtoRGB
andwx.Image.RGBtoHSV
, which convert betweenHSV
color space andRGB
color space.- Parameters:
h (float)
s (float)
v (float)
- Return type:
None
Properties¶
- hue¶
A public C++ attribute of type
float
.
- saturation¶
A public C++ attribute of type
float
.
- value¶
A public C++ attribute of type
float
.