TLMeasureTextSpanOpts

See source code
Table of contents
interface TLMeasureTextSpanOpts {}

Properties

fontFamily

fontFamily: string;

fontSize

fontSize: number;

fontStyle

fontStyle: string;

fontWeight

fontWeight: string;

height

height: number;

lineHeight

lineHeight: number;

measureScrollWidth

optional
measureScrollWidth?: boolean;

otherStyles

optional
otherStyles?: Record<string, string>;

overflow

overflow: "truncate-clip" | "truncate-ellipsis" | "wrap";

padding

padding: number;

textAlign


width

width: number;

Prev
TLMeasureTextOpts
Next
TLRenderingShape