Skip to content

Intermact API Reference / @intermact/core / circle

Function: circle()

circle(props): IMObject2D

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

Build a filled, morphable circle approximated by samples evenly-spaced points (default 64) around center (design.md §5.1). Higher samples give smoother strokes and finer morph correspondence at the cost of vertices.

Parameters

props

CircleProps

Returns

IMObject2D

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