API Panel.Graphics.DrawRect

From Flowcode Help
Jump to navigationJump to search
Error creating thumbnail: Unable to save thumbnail to destination
DrawRect
Draws a rectangle on a texture 
Error creating thumbnail: Unable to save thumbnail to destination
- FLOAT
X0
Inclusive horizontal start in pixels 
Error creating thumbnail: Unable to save thumbnail to destination
- FLOAT
Y0
Inclusive vertical start in pixels 
Error creating thumbnail: Unable to save thumbnail to destination
- FLOAT
X1
Exclusive horizontal end in pixels 
Error creating thumbnail: Unable to save thumbnail to destination
- FLOAT
Y1
Exclusive vertical end in pixels 
Error creating thumbnail: Unable to save thumbnail to destination
- NONE
Return


Detailed description

Examples

Calling in a calculation

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