CPDFFreetextAttr class

Inheritance

Constructors

CPDFFreetextAttr({Color? fontColor = Colors.black, int? fontColorAlpha = 255, int? fontSize = 30, bool? isBold = false, bool? isItalic = false, CPDFAlignment? alignment = CPDFAlignment.left, CPDFTypeface? typeface = CPDFTypeface.helvetica})
const

Properties

alignment CPDFAlignment?
Text alignment, CPDFAlignment.left aligned by default.
final
fontColor Color?
final
fontColorAlpha int?
text color opacity. value range:0~255
final
fontSize int?
font size, value range:1~100
final
hashCode int
The hash code for this object.
no setterinherited
isBold bool?
Whether the font is bold.
final
isItalic bool?
Is the font italicized.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeface CPDFTypeface?
The font used by default for text. The default is:CPDFTypeface.helvetica.
final

Methods

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

Operators

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