Phoenix Logo

phoenix_title wx.Image.HSVValue

A simple class which stores hue, saturation and value as doubles in the range 0.0-1.0.


class_hierarchy Class Hierarchy

Inheritance diagram for class HSVValue:

method_summary Methods Summary

__init__ Constructor for wx.Image.HSVValue, an object that contains values for hue, saturation and value which represent the value of a color.

property_summary Properties Summary

hue A public C++ attribute of type float.
saturation A public C++ attribute of type float.
value A public C++ attribute of type float.

api Class API



class wx.Image.HSVValue(object)

Possible constructors:

HSVValue(h=0.0, s=0.0, v=0.0)

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 and wx.Image.RGBtoHSV , which convert between HSV color space and RGB color space.

Parameters:
  • h (float) –
  • s (float) –
  • v (float) –

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.