A simple class which stores red, green and blue values as 8 bit integers in the range of 0-255
.
Constructor for wx.Image.RGBValue, an object that contains values for red, green and blue which represent the value of a color. |
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
wx.Image.
RGBValue
(object)¶Possible constructors:
RGBValue(r: int=0, g: int=0, b: int=0) -> None
integers in the range of 0-255
.
__init__
(self, r: int=0, g: int=0, b: int=0)¶Constructor for wx.Image.RGBValue, an object that contains values for red, green and blue which represent the value of a color.
It is used by wx.Image.HSVtoRGB
and wx.Image.RGBtoHSV
, which convert between HSV
color space and RGB
color space.
r (int) –
g (int) –
b (int) –
None
blue
¶A public C++ attribute of type int
.
green
¶A public C++ attribute of type int
.
red
¶A public C++ attribute of type int
.