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.

Defined in

Last Updated: 13 October, 2019