Difference between revisions of "API Panel.Graphics.SetColorRGB"
From Flowcode Help
Jump to navigationJump to search (XML import of API auto-gen)  | 
				 (XML import)  | 
				||
| Line 2: | Line 2: | ||
Sets the draw colour for and subsequent graphics objects  | Sets the draw colour for and subsequent graphics objects  | ||
| + | <div style="width:25%; float:right" class="toc">  | ||
| + | ===Class hierarchy===  | ||
| + | :Panel  | ||
| + | ::Graphics  | ||
| + | :::SetColorRGB  | ||
| + | </div>  | ||
| + | __TOC__  | ||
| − | + | ==Parameters==  | |
''[[Variable types|BYTE]] R''  | ''[[Variable types|BYTE]] R''  | ||
:The 0-255 red part to set the colour to  | :The 0-255 red part to set the colour to  | ||
| Line 13: | Line 20: | ||
:The 0-255 blue part to set the colour to  | :The 0-255 blue part to set the colour to  | ||
| − | + | ==Return value==  | |
''This call does not return a value''  | ''This call does not return a value''  | ||
| − | + | ==Detailed description==  | |
''No additional information''  | ''No additional information''  | ||
| − | + | ==Examples==  | |
| − | + | ===Calling in a calculation===  | |
| − | * Add to a calculation icon: <pre class="brush:[  | + | * Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Graphics.SetColorRGB(r, g, b)</pre>  | 
Revision as of 16:30, 11 May 2013
<sidebar>API contents</sidebar> Sets the draw colour for and subsequent graphics objects
Class hierarchy
- Panel
- Graphics
- SetColorRGB
 
 
 - Graphics
 
Contents
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)