Bitbybit Docs
    Preparing search index...

    Class PathArcSegment

    Elliptical arc in center parametrization (angles in radians).

    Index

    Constructors

    • Parameters

      • Optionalto: Point2
      • Optionalcenter: Point2
      • Optionalrx: number
      • Optionalry: number
      • OptionalxAxisRotation: number
      • OptionalstartAngle: number
      • OptionaldeltaAngle: number

      Returns PathArcSegment

    Properties

    type: "arc"

    Segment kind discriminator.

    arc
    
    to: Point2

    End point of the arc.

    undefined
    
    center: Point2

    Ellipse center.

    undefined
    
    rx: number

    Semi-axis along the (rotated) x direction.

    0
    
    ry: number

    Semi-axis along the (rotated) y direction.

    0
    
    xAxisRotation: number

    Rotation of the ellipse x-axis in radians (CCW in path space).

    0
    
    startAngle: number

    Start angle on the ellipse in radians.

    0
    
    deltaAngle: number

    Signed sweep angle in radians (negative = clockwise in path space).

    0