OffsetOptions Class

Options for offsetting a curve.

Methods

Name Description
constructor(offsetDistanceOrOptions: number | JointOptions, strokeOptions?: StrokeOptions): OffsetOptions Options that are provided are captured.  
clone(): OffsetOptions Return a deep clone.  
create(offsetDistanceOrOptions: number | OffsetOptions | JointOptions): OffsetOptions Static Convert variant input into OffsetOptions.  
getOffsetDistance(offsetDistanceOrOptions: number | OffsetOptions | JointOptions): number Static Convert variant input into offset distance  

Properties

Name Type Description
jointOptions JointOptions Options for offsetting and joining CurvePrimitives  
leftOffsetDistance Accessor number    
maxChamferTurnDegrees Accessor number    
minArcDegrees Accessor number    
preserveEllipticalArcs Accessor boolean    
strokeOptions StrokeOptions Options for generating a B-spline curve offset  

Defined in

Last Updated: 20 June, 2023