PdfFreeTextStyle class

A free-text annotation's text and box styling, as recoverable from its dictionary (see PdfAnnotation.freeTextStyle). Colors are 0xRRGGBB.

Constructors

PdfFreeTextStyle({required String fontName, required double fontSize, required int color, int? fillColor, int? borderColor, double borderWidth = 0, PdfTextAlign alignment = PdfTextAlign.left})
const

Properties

alignment PdfTextAlign
How the lines are aligned inside the box (the /Q quadding). Defaults to PdfTextAlign.left when the annotation carries no /Q.
final
borderColor int?
The box border color, or null for no border.
final
borderWidth double
final
color int
The text color.
final
fillColor int?
The box background, or null for a transparent box.
final
fontName String
The /DA font resource name (e.g. Helv), unresolved.
final
fontSize double
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited