Skip to main content

Ellipse

Typeobject
Backlinks1

An elliptical or sector shape. The object's bounds determine the size of the ellipse.

PropertyTypeRequired
classstringRequired
startingAnglenumberRequired
endingAnglenumberRequired
innerRadiusnumberRequired

class​

Required

Type

string

Value

constant: the value of this property must be equal to:

"ellipse"

startingAngle​

Required

Description

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​

Required

Description

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​

Required

Description

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