API Reference > geometry-core > Curve > StrokeCountMap > createWithCurvePrimitive createWithCurvePrimitive MethodStatic Create a StrokeCountMap with curve primitive and optional componentData array. createWithCurvePrimitive(primitive: CurvePrimitive, numStroke: number, curveLength: number, a0: number, a1: number, componentData?: StrokeCountMap[]): StrokeCountMap Parameter Type Description primitive CurvePrimitive numStroke number curveLength number a0 number a1 number componentData StrokeCountMap[] Returns - StrokeCountMap Defined in curve/Query/StrokeCountMap.ts Line 66 Last Updated: 12 June, 2024