resolveVariantCurveExtendParameterToCurveExtendMode MethodStatic

Given an ExtendParameter, isolate the particular CurveExtendOptions in effect at an end.

  • Return undefined if param === false
  • return the (strongly typed) pointer to the param if it is a single CurveExtendOptions.
  • Return dereferenced array entry 0 or 1 if the param is an array of CurveExtendOptions.

resolveVariantCurveExtendParameterToCurveExtendMode(param: VariantCurveExtendParameter, endIndex: | "1"): CurveExtendMode

Parameter Type Description
param VariantCurveExtendParameter  
endIndex | "1"  

Returns - CurveExtendMode

Defined in

Last Updated: 20 June, 2023