create MethodStatic

Parse a number or JointOptions up to JointOptions:

  • If leftOffsetDistanceOptions is a number, create a JointOptions with other options set to default 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: 23 November, 2024