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

From Flowcode Help
Jump to navigationJump to search
(XML import API auto-gen)
(XML import)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
API contents
+
<sidebar>API Contents</sidebar>
 
Draws a rectangle on a texture
 
Draws a rectangle on a texture
  
 +
<div style="width:25%; float:right" class="toc">
 +
====Class hierarchy====
 +
[[API Panel|Panel]]
 +
:[[API Panel.Graphics|Graphics]]
 +
::[[API Panel.Graphics|DrawRect]]
 +
</div>
 +
__TOC__
  
===Parameters===
+
==Parameters==
''[[Variable types|FLOAT]] X0''
+
[[Variable Types|FLOAT]] ''X0''
 
:Inclusive horizontal start in pixels
 
:Inclusive horizontal start in pixels
  
''[[Variable types|FLOAT]] Y0''
+
[[Variable Types|FLOAT]] ''Y0''
 
:Inclusive vertical start in pixels
 
:Inclusive vertical start in pixels
  
''[[Variable types|FLOAT]] X1''
+
[[Variable Types|FLOAT]] ''X1''
 
:Exclusive horizontal end in pixels
 
:Exclusive horizontal end in pixels
  
''[[Variable types|FLOAT]] Y1''
+
[[Variable Types|FLOAT]] ''Y1''
 
:Exclusive vertical end in pixels
 
:Exclusive vertical end in pixels
  
===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.DrawRect(x0, y0, x1, y1)
+
 
 +
 
 +
==Examples==
 +
===Calling in a calculation===
 +
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Graphics.DrawRect(x0, y0, x1, y1)</pre>
 +
 
 +
''<span style="color:red;">No additional examples</span>''

Latest revision as of 15:57, 16 January 2014

<sidebar>API Contents</sidebar> Draws a rectangle on a texture

Class hierarchy

Panel

Graphics
DrawRect

Parameters

FLOAT X0

Inclusive horizontal start in pixels

FLOAT Y0

Inclusive vertical start in pixels

FLOAT X1

Exclusive horizontal end in pixels

FLOAT Y1

Exclusive vertical end in pixels


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.DrawRect(x0, y0, x1, y1)

No additional examples