Skip to content

Intermact API Reference / @intermact/core / bakeGeometry2D

Function: bakeGeometry2D()

bakeGeometry2D(object): SerializedGeometry2D

Defined in: packages/core/src/serialize/bake.ts:49

Bake a 2D object's geometry by sampling its natural contours and fill data.

Parameters

object

IMObject2D

Returns

SerializedGeometry2D

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