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 95
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.