createWithCurvePrimitiveAndOptionalParent MethodStatic

Create a StrokeCountMap, optionally

  • (a) use parent a1 as new a0
  • (b) attach a (usually empty) array for component counts.

createWithCurvePrimitiveAndOptionalParent(curvePrimitive: CurvePrimitive, parentMap?: StrokeCountMap, componentData?: StrokeCountMap[]): StrokeCountMap

Parameter Type Description
curvePrimitive CurvePrimitive  
parentMap StrokeCountMap optional map whose a1 becomes a0 in the new map.
componentData StrokeCountMap[] optional array of component StrokeCountMaps.

Returns - StrokeCountMap

Defined in

Last Updated: 28 October, 2024