Draw line with width option
draw_line_width(pos1, pos2, width, angle)
Vector2
int
double
Returns: void
void
This function draws line, it's like draw_line(); but this have width option that can make line bold and option that can rotate line.
draw_line();
draw_line_width(new Vector2(Position.X,Position.Y), new Vector2(Position.X+20,Position.Y+20), 5, 20 );
Above code will draw bold line with small rotation.
Back to Shapes
There was an error while loading. Please reload this page.