-
-
Notifications
You must be signed in to change notification settings - Fork 18
draw_circle_color
CryoEagle edited this page Jan 12, 2019
·
1 revision
Draw circle with specified options and color
draw_circle_color(pos, r, outline, c1, c2, startAngle, totalAngle)
Argument | Description |
---|---|
Vector2 pos |
Position |
int r |
Radius |
bool outline |
Set outline on or off |
Color c1 |
Color of circle |
Color c2 |
Another colored line of circle |
int startAngle |
Angle where to start drawing circle |
int totalAngle |
Total angle to draw |
Returns: void
This function will draw specified circle in game with colours.
draw_circle_color(Position,20,true,Microsoft.Xna.Framework.Color.Red, Microsoft.Xna.Framework.Color.Green);
Above code will draw primitive circle with radius 20px and colours red and green.
Back to Shapes