Skip to content

Intermact API Reference / @intermact/core / polyline

Function: polyline()

polyline(props): IMObject2D

Defined in: packages/core/src/geometry/primitives.ts:284

Build an open stroke-only polyline through an ordered point list (design.md §5.1).

Parameters

props

PolylineProps

Returns

IMObject2D

Intermact v1.0 — 文档覆盖 Phase-1 / Phase-2 / Phase-3(全阶段)