Skip to content

3.5 Arc

Jonas de Luna Skulberg edited this page Oct 14, 2023 · 1 revision

Arc

The arc is a component that visualizes an angle. It is constructed with 3 points, A, B, and C. The angle visualized is the angle ABC.

Extends:

Implements:

  • none

Parameters:

Required:

  • pointA: InputPosition Start point for the angle.
  • pointB: InputPosition Vertex of the angle.
  • pointC: InputPosition End point of the angle.

Optional:

  • radius: number Radius of the angle.
  • hasLabel: boolean Whether the angle should be displayed as a label.
  • color: number Fill color of the angle.

Default Parameters:

radius: 40;
hasLabel: true;
color: 0xfaa307;

Implemented Methods:

  • none

Methods

  • none
Clone this wiki locally