MotorXP-PM Scripting API
    Preparing search index...

    Function Arc

    • Creates an arc from 0, 4 or 5 arguments. Throws TypeError for any other number of arguments.

      Empty arc.

      Returns Arc

    • Creates an arc from 0, 4 or 5 arguments. Throws TypeError for any other number of arguments.

      Parameters

      • angle1: number

        Start angle in degrees.

      • angle2: number

        End angle in degrees.

      • radius: number

        Radius.

      • center: Point

        Center.

      Returns Arc

    • Creates an arc from 0, 4 or 5 arguments. Throws TypeError for any other number of arguments.

      Parameters

      • angle1: number

        Start angle in degrees.

      • angle2: number

        End angle in degrees.

      • radius: number

        Radius.

      • cx: number

        Center X coordinate.

      • cy: number

        Center Y coordinate.

      Returns Arc