API Panel.Graphics.DrawLine

From Flowcode Help
Revision as of 11:55, 16 January 2023 by Wiki bot (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Fc9-comp-macro.png DrawLine
Draws a line on a texture 
Fc9-f32-icon.png - FLOAT X0
Inclusive start of line in X 
Fc9-f32-icon.png - FLOAT Y0
Inclusive start of line in Y 
Fc9-f32-icon.png - FLOAT X1
Exclusive end of line in X 
Fc9-f32-icon.png - FLOAT Y1
Exclusive end of line in Y 
Fc9-void-icon.png - NONE Return


Detailed description

Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Panel.Graphics.DrawLine(x0, y0, x1, y1)