Class: Circle
components.Circle
Represents a circle.
Constructors#
constructor#
• new Circle(x, y, radius?)
Creates a new circle at the specified coordinates, with a default radius of 0.
Parameters#
| Name | Type | Default value |
|---|---|---|
x | number | undefined |
y | number | undefined |
radius | number | 0 |
Defined in#
Properties#
radius#
• radius: number
The radius of the circle.
defaultvalue 0
Defined in#
x#
• x: number
The x-coordinate of the circle.
Defined in#
y#
• y: number
The y-coordinate of the circle.
Defined in#
zero#
â–ª Static Readonly zero: Circle