Skip to content

Documentation / scene / buildMSDFShape

Function: buildMSDFShape()

buildMSDFShape(contours): MSDFShape

Defined in: libs/scene/src/text/msdf/shape.ts:8

Builds an MSDF shape from glyph contours.

Parameters

contours

GlyphContour[]

Returns

MSDFShape

Released under the MIT License.