Skip to main content
Version: Next

Circle

Draws a circle on the canvas.

Parameters

NameTypeDescription
xNumberThe x-coordinate of the circle's center.
yNumberThe y-coordinate of the circle's center.
radiusNumberThe radius of the circle.
coloranyThe stroke color of the circle. To change the fill color, use the Fill modifier.

Example

Circle(x: 50, y: 50, radius: 25, color: 'blue')