The HsvaSignal
class monitors a HSVA color value.
Inherits From : ColorSignal
Property | Description |
---|---|
alpha | (get) alpha: ScalarSignal Returns the value of the alpha channel of this signal. |
brightness | (get) brightness: ScalarSignal Returns the value of the brightness (value ) channel of this signal. |
hue | (get) hue: ScalarSignal Returns the value of the hue channel of this signal. |
saturation | (get) saturation: ScalarSignal Returns the value of the saturation channel of this signal. |
Method | Description |
---|---|
pinLastValue | pinLastValue(): HsvaSignal Returns a new HsvaSignal containing a constant value which is the last value of the specified signal before pinLastValue is called. |
toRGBA | toRGBA(): RgbaSignal Convert this signal into RGBA color space. Be aware, that there is a potential loss of data, when converting HSVA values with Saturation set to 0. |
toVec4 | toVec4(): Point4DSignal Convert this signal to Vector signal, using H, S, V, A for four components of vector respectively. |