Difference between revisions of "API Panel.Graphics.DrawLine"
From Flowcode Help
Jump to navigationJump to search (XML import API auto-gen) |
(XML import) |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <sidebar>API Contents</sidebar> | |
Draws a line on a texture | Draws a line on a texture | ||
+ | <div style="width:25%; float:right" class="toc"> | ||
+ | ====Class hierarchy==== | ||
+ | [[API Panel|Panel]] | ||
+ | :[[API Panel.Graphics|Graphics]] | ||
+ | ::[[API Panel.Graphics|DrawLine]] | ||
+ | </div> | ||
+ | __TOC__ | ||
− | + | ==Parameters== | |
− | + | [[Variable Types|FLOAT]] ''X0'' | |
:Inclusive start of line in X | :Inclusive start of line in X | ||
− | + | [[Variable Types|FLOAT]] ''Y0'' | |
:Inclusive start of line in Y | :Inclusive start of line in Y | ||
− | + | [[Variable Types|FLOAT]] ''X1'' | |
:Exclusive end of line in X | :Exclusive end of line in X | ||
− | + | [[Variable Types|FLOAT]] ''Y1'' | |
:Exclusive end of line in Y | :Exclusive end of line in Y | ||
− | + | ||
+ | ==Return value== | ||
''This call does not return a value'' | ''This call does not return a value'' | ||
− | |||
− | |||
− | ===Examples | + | ==Detailed description== |
− | + | ''<span style="color:red;">No additional information</span>'' | |
− | * Add to a calculation icon: ::Panel.Graphics.DrawLine(x0, y0, x1, y1) | + | |
+ | |||
+ | ==Examples== | ||
+ | ===Calling in a calculation=== | ||
+ | * Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Graphics.DrawLine(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 line on a texture
Contents
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 examples