Skip to content

Interface: TextRunBase ​

Experimental

Base style a run layout is computed against (the label's resolved style).

Properties ​

PropertyTypeDescription
align?"center" | "left" | "right"Experimental Line alignment in the block. Default: follows anchorX.
anchorX?"center" | "left" | "right"Experimental Default left.
anchorY?"top" | "middle" | "bottom" | "baseline"Experimental Default baseline.
fontTextFontExperimental The label's font (runs override fields of it).
lineHeight?numberExperimental Line advance as a multiple of font.size. Default TEXT_DEFAULT_LINE_HEIGHT.

Released under the MIT License.