draw_line - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

NOTOC {{-}} This function is part of the function set Drawing shapes

Notation

Description

Draws a line from point x1,y1 to point x2,y2.

To change the line's color, use draw_set_color();

Parameters

  • List parameters with a description of each.

Return Values

Document return values.

Example Call

//Draws a line from point 0,0 to point 10,10.
draw_line(0,0,10,10)
⚠️ **GitHub.com Fallback** ⚠️