-
-
Notifications
You must be signed in to change notification settings - Fork 18
draw_line_width
CryoEagle edited this page Jan 13, 2019
·
1 revision
Draw line with width option
draw_line_width(pos1, pos2, width, angle)
Argument | Description |
---|---|
Vector2 pos1 |
First position |
Vector2 pos2 |
Second position |
int width |
Thickness |
double angle |
Rotate line |
Returns: 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_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