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:

 

[label]

{object}.SetHSB

[GIVING {return}] USING [*HSB=]{hsb}

 

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:

  1. The ZERO Condition Flag is set.

  2. The OVER Condition Flag is cleared.

 

 

See Also: COLOR, COLOR Methods, Method Syntax

 



PL/B Language Reference GetHSB Method (COLOR)