module:Ellipse

module:Ellipse

Ellipse class
ellipse demo

Constructor

# new module:Ellipse(positionDefinition, widthopt, heightopt, optionsopt)

Ellipse constructor

Parameters:
Name Type Attributes Default Description
positionDefinition PositionDefinition

Position of the center of the ellipse

width Number <optional>
0

Horizontal radius

height Number <optional>
0

Vertical radius

options ComponentOptions <optional>

Drawing options

Extends

Members

# (static) defaultOptions :ComponentOptions

Type:
  • ComponentOptions

Methods

# (static) from(definition) → {Ellipse}

Parameters:
Name Type Description
definition Object

Ellipse definition

Returns:
Type
Ellipse