module:Circle

module:Circle

Circle class
circle demo

Constructor

# new module:Circle(positionDefinition, radius, optionsopt)

Circle constructor

Parameters:
Name Type Attributes Description
positionDefinition PositionDefinition

Center of circle

radius Number

Distance from center to outer edge

options ComponentOptions <optional>

Drawing options

Extends

Members

# radius

Return this circle's radius

# radius

Change this circle's radius

Methods

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

Parameters:
Name Type Description
definition Object

Circle definition

Returns:
Type
Circle