Class | Rubygame::Color::ColorHSV |
In: |
lib/rubygame/color/models/hsv.rb
|
Parent: | Object |
Represents color in the HSV (Hue, Saturation, Value) color space.
a | [R] | |
h | [R] | |
s | [R] | |
v | [R] |
Create a new instance from an Array or an existing color (of any type). If the alpha (opacity) component is omitted from the array, full opacity will be used.
All color components range from 0.0 to 1.0.