-
-
Notifications
You must be signed in to change notification settings - Fork 18
draw_line
CryoEagle edited this page Jan 12, 2019
·
1 revision
Draw line
draw_line(pos1x, pos1y, pos2x, pos2y)
Argument | Description |
---|---|
float pos1x |
First X position |
float pos1y |
First Y position |
float size |
Second X position |
float size |
Second Y position |
Returns: void
This function draws simple line.
draw_line(Position.X-500,Position.Y,Position.X+500,Position.Y);
Above code will draw long line from left to right side with lenght size 1000px.
Back to Shapes