Table Of Contents

Previous topic

GridSizer

Next topic

HScrolledWindow

This Page

phoenix_title HSVValue

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


class_hierarchy Inheritance Diagram

Inheritance diagram for class HSVValue

Inheritance diagram of HSVValue


method_summary Methods Summary

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

api Class API



class HSVValue(object)

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

Possible constructors:

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

Methods



__init__(self, h=0.0, s=0.0, v=0.0)

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

It is used by Image.HSVtoRGB and Image.RGBtoHSV , which convert between HSV color space and RGB color space.

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