Skip to content

draw_circle

CryoEagle edited this page Jan 12, 2019 · 3 revisions

draw_circle

Draw circle with specified options

Syntax:

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

Description:

This function will draw specified circle in game.

Example:

draw_circle(Position,20,true);

Above code will draw primitive circle with radius 20px.

Back to Shapes

Clone this wiki locally