• Offsets a planar vertex path in the XY plane.

    Parameters

    • points: AcGePoint2d[]

      Sampled or vertex-derived 2D path

    • closed: boolean

      Whether the path is treated as a closed polygon

    • offsetDist: number

      Signed offset distance in drawing units

    Returns AcGePolyline2d | null

    The first offset polyline, or null when offsetting fails