Skip to content

Intermact API Reference / @intermact/core / arc

Function: arc()

arc(props): IMObject2D

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

Build a circular arc of radius from startAngle to endAngle (radians, CCW) around center (design.md §5.1). When closed is true the endpoints are chorded into a fillable, morphable wedge; otherwise it is an open stroke.

Parameters

props

ArcProps

Returns

IMObject2D

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