defaultProps Static
defaultProps: { color: TextStyleColor, font: { name: string, type: FontType }, frame: { borderColor: TextStyleColor, borderWeight: number, fillColor: TextAnnotationFillColor, shape: "none" | "line" | "rectangle" | "circle" | "equilateralTriangle" | "diamond" | "square" | "pentagon" | "hexagon" | "octagon" | "capsule" | "roundedRectangle" }, indentation: number, isBold: boolean, isItalic: boolean, isUnderlined: boolean, justification: TextJustification, leader: { color: TextStyleColor | "inherit", elbowLength: number, terminatorHeightFactor: number, terminatorWidthFactor: number, wantElbow: boolean }, lineSpacingFactor: number, listMarker: { case: "upper" | "lower", enumerator: string, terminator: "parenthesis" | "period" }, margins: { bottom: number, left: number, right: number, top: number }, paragraphSpacingFactor: number, stackedFractionScale: number, stackedFractionType: StackedFractionType, subScriptOffsetFactor: number, subScriptScale: number, superScriptOffsetFactor: number, superScriptScale: number, tabInterval: number, textHeight: number, widthFactor: number } = ...
A fully-populated JSON representation of the default settings. A real font
must be provided before use.
Defined in
Last Updated: 07 October, 2025