TextShapeOptions
Table of contents
Extends ShapeOptionsWithDisplayValues<TLTextShape, TextShapeUtilDisplayValues>.
interface TextShapeOptions extends ShapeOptionsWithDisplayValues<
TLTextShape,
TextShapeUtilDisplayValues
> {}Properties
extraArrowHorizontalPadding
How much addition padding should be added to the horizontal geometry of the shape when binding to an arrow?
extraArrowHorizontalPadding: number;showTextOutline
Whether to show the outline of the text shape (using the same color as the canvas). This helps with overlapping shapes. It does not show up on Safari, where text outline is a performance issues.
showTextOutline: boolean;Methods
getCustomDisplayValues
Parameters
Returns
Partial<DisplayValues>;getDefaultDisplayValues
Parameters
Returns
DisplayValues;Prev
TextAreaPropsNext
TextShapeUtilDisplayValues