Options
All
  • Public
  • Public/Protected
  • All
Menu

This represents an arc in a 2d space.

Hierarchy

  • Arc2

Index

Constructors

  • Creates an Arc object from the three given points : start, middle and end.

    Parameters

    • startPoint: Vector2

      Defines the start point of the arc

    • midPoint: Vector2

      Defines the middle point of the arc

    • endPoint: Vector2

      Defines the end point of the arc

    Returns Arc2

Properties

angle: Angle

Defines the angle of the arc (from mid point to end point).

centerPoint: Vector2

Defines the center point of the arc.

endPoint: Vector2

Defines the end point of the arc

midPoint: Vector2

Defines the mid point of the arc

orientation: Orientation

Defines the orientation of the arc (clock wise/counter clock wise).

radius: number

Defines the radius of the arc.

startAngle: Angle

Defines the start angle of the arc (from start point to middle point).

startPoint: Vector2

Defines the start point of the arc

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme