allocateAndZeroBezierWorkData MethodProtected

set up the _workBezier members with specific order.

  • Try to reuse existing members if their sizes match.
  • Ignore members corresponding to args that are 0 or negative.

allocateAndZeroBezierWorkData(primaryBezierOrder: number, orderA: number, orderB: number): void

Parameter Type Description
primaryBezierOrder number order of expected bezier
orderA number length of _workCoffsA (simple array)
orderB number length of _workCoffsB (simple array)

Defined in

Last Updated: 20 September, 2019