Skip to main content

alphaTab.platform.MeasuredText

The MeasuredText class represents the dimensions of a piece of text in the canvas;

 class MeasuredText

Properties​

height​

Returns the height of a segment of inline text in CSS pixels.

height: number;

width​

Returns the width of a segment of inline text in CSS pixels.

width: number;