API Panel.Graphics.SetColorRGB

From Flowcode Help
Revision as of 11:55, 16 January 2023 by Wiki bot (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Fc9-comp-macro.png SetColorRGB
Sets the draw colour for and subsequent graphics objects 
Fc9-u8-icon.png - BYTE R
The 0-255 red part to set the colour to 
Fc9-u8-icon.png - BYTE G
The 0-255 green part to set the colour to 
Fc9-u8-icon.png - BYTE B
The 0-255 blue part to set the colour to 
Fc9-void-icon.png - NONE Return


Detailed description

Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Panel.Graphics.SetColorRGB(r, g, b)