-
-
Notifications
You must be signed in to change notification settings - Fork 18
draw_circle
CryoEagle edited this page Jan 12, 2019
·
3 revisions
Draw circle with specified options
draw_circle(pos, r, outline, startAngle, totalAngle)
Argument | Description |
---|---|
Vector2 pos |
Position |
int r |
Radius |
bool outline |
Set outline on or off |
int startAngle |
Angle where to start drawing circle |
int totalAngle |
Total angle to draw |
Returns: void
This function will draw specified circle in game.
draw_circle(Position,20,true);
Above code will draw primitive circle with radius 20px.
Back to Shapes