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
- curve/Query/StrokeCountMap.ts Line 92
Last Updated: 30 November, 2023