Intermact API Reference / @intermact/core / shiftGlyphs
Function: shiftGlyphs()
shiftGlyphs(
glyphs,dx,dy):PlacedGlyph[]
Defined in: packages/core/src/text/text-layout.ts:89
Translate a run's glyphs by (dx, dy) (used for alignment).
Parameters
glyphs
readonly PlacedGlyph[]
dx
number
dy
number