Intermact API Reference / @intermact/core / strokeContoursToOutline
Function: strokeContoursToOutline()
strokeContoursToOutline(
contours,width):RawContour[]
Defined in: packages/core/src/geometry/stroke-outline.ts:181
Convert centerline contours into constant-width outline contours. width is the full pen width (world units); contours shorter than a single point are skipped, and degenerate single-point contours render as a dot.
Parameters
contours
readonly RawContour[]
width
number