CPDFHighlightAttr class

Highlight annotation attributes See also CPDFMarkupAttr

Inheritance

Constructors

CPDFHighlightAttr({Color color = const Color(0xFF1460F3), double alpha = 77})
const
CPDFHighlightAttr.fromJson(Map<String, dynamic> json)
factory

Properties

alpha → double
Transparency of the color. Range: 0 (transparent) - 255 (opaque).
finalinherited
color → Color
The color of the annotation. Defaults to blue (#1460F3).
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String
no setteroverride

Methods

copyWith({Color? color, double? alpha}) → CPDFHighlightAttr
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
inherited
toString() → String
A string representation of this object.
inherited

Operators

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