TextLabel
See source codeTable of contents
Properties
align
bounds
optional
bounds?: Box
classNamePrefix
optional
classNamePrefix?: string
fill
optional
fill?: TLDefaultFillStyle
font
font: TLDefaultFontStyle
fontSize
fontSize: number
isNote
optional
isNote?: boolean
isSelected
isSelected: boolean
labelColor
labelColor: string
lineHeight
lineHeight: number
onKeyDown
optional
Parameters
Name | Description |
---|---|
|
|
Returns
void
padding
optional
padding?: number
shapeId
shapeId: TLShapeId
style
optional
style?: React.CSSProperties
text
text: string
textHeight
optional
textHeight?: number
textWidth
optional
textWidth?: number
type
type: string
verticalAlign
verticalAlign: TLDefaultVerticalAlignStyle
wrap
optional
wrap?: boolean
Prev
StarToolbarItemNext
TextStylePickerSet