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

From Flowcode Help
Jump to navigationJump to search
(XML import API auto-gen)
(XML import of API auto-gen)
Line 24: Line 24:
 
===Examples===
 
===Examples===
 
====Calling in a calculation====
 
====Calling in a calculation====
* Add to a calculation icon: ::Panel.Graphics.DrawLine(x0, y0, x1, y1)
+
* Add to a calculation icon: <pre class="brush:[C]">::Panel.Graphics.DrawLine(x0, y0, x1, y1)</pre>

Revision as of 15:35, 10 May 2013

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


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)