create MethodStatic

Parse a number of JointOptions up to JointOptions:

  • If leftOffsetDistanceOptions is a number, create a JointOptions with default arc and chamfer values.
  • If leftOffsetDistanceOrOptions is a JointOptions, return it unchanged.

create(leftOffsetDistanceOrOptions: number | JointOptions): JointOptions

Parameter Type Description
leftOffsetDistanceOrOptions number | JointOptions  

Returns - JointOptions

Defined in

Last Updated: 12 June, 2024