Difference between revisions of "API Panel.Graphics.SetColorRGB"

From Flowcode Help
Jump to navigationJump to search
(XML import of API auto-gen)
 
(XML import)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
wiki page name
+
<sidebar>API Contents</sidebar>
==Panel.GraphicsSetColorRGB==
+
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====
 +
[[API Panel|Panel]]
 +
:[[API Panel.Graphics|Graphics]]
 +
::[[API Panel.Graphics|SetColorRGB]]
 +
</div>
 +
__TOC__
  
===Parameters===
+
==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
  
''[[Variable types|BYTE]] G''
+
[[Variable Types|BYTE]] ''G''
 
:The 0-255 green part to set the colour to
 
:The 0-255 green part to set the colour to
  
''[[Variable types|BYTE]] B''
+
[[Variable Types|BYTE]] ''B''
 
:The 0-255 blue part to set the colour to
 
:The 0-255 blue part to set the colour to
  
===Return value===
+
 
 +
==Return value==
 
''This call does not return a value''
 
''This call does not return a value''
  
===Detailed description===
 
''No additional information''
 
  
===Examples===
+
==Detailed description==
====Calling in a calculation:====
+
''<span style="color:red;">No additional information</span>''
* Add to a calculation icon: ::Panel.Graphics.SetColorRGB(r, g, b)
+
 
 +
 
 +
==Examples==
 +
===Calling in a calculation===
 +
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Graphics.SetColorRGB(r, g, b)</pre>
 +
 
 +
''<span style="color:red;">No additional examples</span>''

Latest revision as of 15:57, 16 January 2014

<sidebar>API Contents</sidebar> Sets the draw colour for and subsequent graphics objects

Class hierarchy

Panel

Graphics
SetColorRGB

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)

No additional examples