defaultProps Static
defaultProps: { color: TextStyleColor, fontName: string, frame: { border: TextStyleColor, borderWeight: number, fill: TextAnnotationFillColor, shape: "none" | "line" | "rectangle" | "circle" | "equilateralTriangle" | "diamond" | "square" | "pentagon" | "hexagon" | "octagon" | "capsule" | "roundedRectangle" }, isBold: boolean, isItalic: boolean, isUnderlined: boolean, leader: { color: TextStyleColor | "inherit", elbowLength: number, terminatorHeightFactor: number, terminatorWidthFactor: number, wantElbow: boolean }, lineHeight: number, lineSpacingFactor: number, stackedFractionScale: number, stackedFractionType: StackedFractionType, subScriptOffsetFactor: number, subScriptScale: number, superScriptOffsetFactor: number, superScriptScale: number, tabInterval: number, widthFactor: number } = ...
A fully-populated JSON representation of the default settings. A real fontName
must be provided before use.
Defined in
Last Updated: 02 August, 2025