CreateCircle
Description
⚠️
Use of this method is recommended against and may be removed in a later version. The same functionality can be achieved by using the Arc library.
Creates a circle polygon with the given attributes. The output of this method can be drawn with surface.DrawPoly (opens in a new tab).
Arguments
number x
The X coordinate of the circle's center.
number y
The Y coordinate of the circle's center.
number ang
The angle to start drawing from.
number seg
The amount of polygon segments to produce.
number pct
The angle to end drawing at. - needs validation.
number radius
The radius of the circle.
Returns
table
The vertices which make up the circle.