SetHSB Method (Color)
PLBCMP GUI Only, 9.6
The SetHSB method sets the current color as a HSB (Hue, Saturation, Brightness) value. The method uses the following format:
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A COLOR object that has been created.
return
Optional. A Numeric Variable that always returns zero.
hsb
Required. A Numeric Variable that has the new HSB (Hue, Saturation, Brightness) value.
Flags Affected: OVER, ZERO
Note the following:
The ZERO Condition Flag is set.
The OVER Condition Flag is cleared.
See Also: COLOR, COLOR Methods, Method Syntax
![]() |