Function fromDegrees

Returns an arc from degrees, rather than radians

Radius of arc

Start angle in degrees

End angle in degrees

Optional center of arc

Whether arc moves in clockwise direction

Arc

  • Returns an arc from degrees, rather than radians

    Parameters

    • radius: number

      Radius of arc

    • startDegrees: number

      Start angle in degrees

    • endDegrees: number

      End angle in degrees

    • clockwise: boolean

    Returns Arc

    Arc

  • Returns an arc from degrees, rather than radians

    Parameters

    • radius: number

      Radius of arc

    • startDegrees: number

      Start angle in degrees

    • endDegrees: number

      End angle in degrees

    • clockwise: boolean

      Whether arc moves in clockwise direction

    • origin: Point

      Optional center of arc

    Returns ArcPositioned

    Arc