Namespace: Shapes

Shapes

Shape Factory Pattern
Source:

Methods

(static) circle(x, y, size, params)

Creates a circle with optional fill
Parameters:
Name Type Description
x number Center X coordinate
y number Center Y coordinate
size number Reference size for radius calculation
params Object Optional parameters for customization
Properties
Name Type Attributes Description
radius number <optional>
Optional explicit radius
fill boolean <optional>
Whether to fill the circle
Source: