API Reference > geometry-core > Curve > CurveChainWithDistanceIndex > computeAndAttachRecursiveStrokeCounts computeAndAttachRecursiveStrokeCounts Method construct StrokeCountMap for each child, accumulating data to stroke count map for this primitive. computeAndAttachRecursiveStrokeCounts(options?: StrokeOptions, parentStrokeMap?: StrokeCountMap): void Parameter Type Description options StrokeOptions StrokeOptions that determine count parentStrokeMap StrokeCountMap evolving parent map. Returns - void Defined in curve/CurveChainWithDistanceIndex.ts Line 296 Last Updated: 12 June, 2024