Skip to content

CleanCircle

Juju Adams edited this page Mar 17, 2021 · 10 revisions

 

CleanCircle(x, y, radius)

Returns: Ellipse struct

Name Datatype Purpose
x number x-coordinate of the circle's center
y number y-coordinate of the circle's center
radius number Radius of the circle, in pixels

Circles are implemented as a wrapper for Clean Shapes' ellipse shape. Please see the CleanEllipse() documentation for methods available to circles.

N.B. A shape will only draw when you call the .Draw() method.