Skip to content

draw_line

CryoEagle edited this page Jan 12, 2019 · 1 revision

draw_line

Draw line

Syntax:

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

Description:

This function draws simple line.

Example:

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

Clone this wiki locally