API Reference > geometry-core > Curve > StrokeCountMap > createWithComponentIndex createWithComponentIndex MethodStatic Create a StrokeCountMap with componentIndex (but no primitive or componentData array) createWithComponentIndex(componentIndex: number = 0, numStroke: number = 0, curveLength: number = 0, a0: number = 0, a1: number = 0): StrokeCountMap Parameter Type Description componentIndex number numStroke number curveLength number a0 number a1 number Returns - StrokeCountMap Defined in core/geometry/src/curve/Query/StrokeCountMap.ts Line 78 Last Updated: 13 June, 2024