Skip to content

Intermact API Reference / @intermact/core / group2D

Function: group2D() ​

group2D(children, props?): IMObject2D

Defined in: packages/core/src/geometry/group.ts:50

Aggregate child objects into one composite object that retains keyed parts. Fillable when any child is fillable; always strokeable + morphable.

Parameters ​

children ​

readonly GroupChild[]

props? ​

GroupProps = {}

Returns ​

IMObject2D

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