TLMeasureTextSpanOpts
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
textAlign: TLDefaultHorizontalAlignStyle;width
width: number;Prev
TLMeasureTextOptsNext
TLRenderingShape