Intermact API Reference / @intermact/core / labelContours
Function: labelContours()
labelContours(
text,opts?):object
Defined in: packages/core/src/text/text-layout.ts:197
Lay out a label string into contours using a registered outline font.
Parameters
text
string
opts?
LabelOptions = {}
Returns
object
contours
contours:
RawContour[]
height
height:
number
width
width:
number