TLMeasureTextSpanOpts
See source codeTable of contents
interface TLMeasureTextSpanOpts {}Properties
fontFamily
fontFamily: stringfontSize
fontSize: numberfontStyle
fontStyle: stringfontWeight
fontWeight: stringheight
height: numberlineHeight
lineHeight: numbermeasureScrollWidth
optional
measureScrollWidth?: booleanotherStyles
optional
otherStyles?: Record<string, string>overflow
overflow: 'truncate-clip' | 'truncate-ellipsis' | 'wrap'padding
padding: numbertextAlign
textAlign: TLDefaultHorizontalAlignStylewidth
width: numberPrev
TLMeasureTextOptsNext
TLRenderingShape