create MethodStatic

Convert variant input into OffsetOptions.

  • If a JointOptions is provided, it is captured.
  • If an OffsetOptions is provided, a reference to it is returned.

create(offsetDistanceOrOptions: number | OffsetOptions | JointOptions): OffsetOptions

Parameter Type Description
offsetDistanceOrOptions number | OffsetOptions | JointOptions  

Returns - OffsetOptions

Defined in

Last Updated: 20 June, 2023