Skip to content

Intermact API Reference / @intermact/core / composeGlyphs

Function: composeGlyphs() ​

composeGlyphs(glyphs, type, style?, glyphProps?): IMObject2D

Defined in: packages/core/src/text/text-layout.ts:131

Compose placed glyphs into one text object: aggregated geometry + keyed parts

Parameters ​

glyphs ​

readonly PlacedGlyph[]

type ​

string

style? ​

ObjectStyle

glyphProps? ​

GlyphStyleProps

Returns ​

IMObject2D

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