Ellipse
An elliptical or sector shape. The object's bounds determine the size of the ellipse.
Property | Type | Required |
---|---|---|
class | string | Required |
startingAngle | number | Required |
endingAngle | number | Required |
innerRadius | number | Required |
startingAngle​
RequiredDescription
The starting angle of the sector sweep.
The three o'clock direction is defined as 0
, increasing in the clockwise direction.
If startingAngle
is less than endingAngle
, the filled area spans from startingAngle
to endingAngle
clockwise; otherwise, counterclockwise.
Type
number
endingAngle​
RequiredDescription
The ending angle of the sector sweep.
The three o'clock direction is defined as 0
, increasing in the clockwise direction.
If startingAngle
is less than endingAngle
, the filled area spans from startingAngle
to endingAngle
clockwise; otherwise, counterclockwise.
Type
number
innerRadius​
RequiredDescription
A ratio of inner radius to the outer radius.
Type
number
Value
maximum: the value of this number must smaller than or equal to: 1
minimum: the value of this number must greater than or equal to: 0