Jump to content

API Panel.Graphics.DrawLine: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import
Admin (talk | contribs)
XML import
Line 3: Line 3:


<div style="width:25%; float:right" class="toc">
<div style="width:25%; float:right" class="toc">
===Class hierarchy===[[API Panel|Panel]]
====Class hierarchy====
[[API Panel|Panel]]
:[[API Panel.Graphics|Graphics]]
:[[API Panel.Graphics|Graphics]]
::[[API Panel.Graphics|DrawLine]]
::[[API Panel.Graphics|DrawLine]]
Line 10: Line 11:


==Parameters==
==Parameters==
''[[Variable types|FLOAT]] X0''
[[Variable types|FLOAT]] ''X0''
:Inclusive start of line in X
:Inclusive start of line in X


''[[Variable types|FLOAT]] Y0''
[[Variable types|FLOAT]] ''Y0''
:Inclusive start of line in Y
:Inclusive start of line in Y


''[[Variable types|FLOAT]] X1''
[[Variable types|FLOAT]] ''X1''
:Exclusive end of line in X
:Exclusive end of line in X


''[[Variable types|FLOAT]] Y1''
[[Variable types|FLOAT]] ''Y1''
:Exclusive end of line in Y
:Exclusive end of line in Y


Line 26: Line 27:


==Detailed description==
==Detailed description==
''No additional information''
''<span style="color:red;">No additional information</span>''
 


==Examples==
==Examples==
===Calling in a calculation===
===Calling in a calculation===
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Graphics.DrawLine(x0, y0, x1, y1)</pre>
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Graphics.DrawLine(x0, y0, x1, y1)</pre>
''<span style="color:red;">No additional information</span>''

Revision as of 22:09, 11 May 2013

<sidebar>API contents</sidebar> Draws a line on a texture

Class hierarchy

Panel

Graphics
DrawLine

Parameters

FLOAT X0

Inclusive start of line in X

FLOAT Y0

Inclusive start of line in Y

FLOAT X1

Exclusive end of line in X

FLOAT Y1

Exclusive end of line in Y

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

No additional information