Difference between revisions of "API Panel.Graphics.SetColorRGB"
From Flowcode Help
Jump to navigationJump to search (XML import API auto-gen)  | 
				 (XML import of API auto-gen)  | 
				||
| Line 21: | Line 21: | ||
===Examples===  | ===Examples===  | ||
====Calling in a calculation====  | ====Calling in a calculation====  | ||
| − | * Add to a calculation icon: ::Panel.Graphics.SetColorRGB(r, g, b)  | + | * Add to a calculation icon: <pre class="brush:[C]">::Panel.Graphics.SetColorRGB(r, g, b)</pre>  | 
Revision as of 15:35, 10 May 2013
<sidebar>API contents</sidebar> Sets the draw colour for and subsequent graphics objects
Parameters
BYTE R
- The 0-255 red part to set the colour to
 
BYTE G
- The 0-255 green part to set the colour to
 
BYTE B
- The 0-255 blue part to set the colour to
 
Return value
This call does not return a value
Detailed description
No additional information
Examples
Calling in a calculation
- Add to a calculation icon: 
::Panel.Graphics.SetColorRGB(r, g, b)