Interface TextMeasurer

interface TextMeasurer {
    naturalBounds: ((text, options?) => TextSize);
}

Implemented by

Properties

Properties

naturalBounds: ((text, options?) => TextSize)

Type declaration

    • (text, options?): TextSize
    • Parameters

      • text: string
      • Optional options: TextMeasurerOptions

      Returns TextSize