module:Triangle

module:Triangle

Triangle class
triangle demo

Constructor

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

Triangle constructor

Parameters:
Name Type Attributes Description
positionDefinition PositionDefinition

Center of the triangle

radius Number

Distance of branches from center

options ComponentOptions <optional>

Drawing options

Extends

Methods

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

Parameters:
Name Type Description
definition Object

Triangle definition

Returns:
Type
Triangle