CPDFTextAttr class
Represents the attributes for text annotations in a PDF document. This class extends CPDFAnnotAttrBase and includes properties for the color and transparency of the text annotation. The color property defines the color of the text annotation, while the alpha property defines its transparency level.
- Inheritance
-
- Object
- CPDFAnnotAttrBase
- CPDFTextAttr
Constructors
- CPDFTextAttr({Color color = const Color(0xFF1460F3), double alpha = 255})
-
const
-
CPDFTextAttr.fromJson(Map<
String, dynamic> json) -
Creates a CPDFTextAttr instance from a JSON map.
example:
factory
Properties
Methods
-
copyWith(
{Color? color, double? alpha}) → CPDFTextAttr -
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