Skip to content

draw_circle_color

CryoEagle edited this page Jan 12, 2019 · 1 revision

draw_circle_color

Draw circle with specified options and color

Syntax:

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

Description:

This function will draw specified circle in game with colours.

Example:

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

Clone this wiki locally