CPDFInkAttr class

Inheritance

Constructors

CPDFInkAttr({Color color = const Color(0xFF1460F3), double alpha = 255, double borderWidth = 10})
const
CPDFInkAttr.fromJson(Map<String, dynamic> json)
Creates a CPDFInkAttr instance from a JSON map. example:
factory

Properties

alpha → double
Color transparency.
Value Range:0-255.
final
borderWidth → double
border width. Value Range:1~10.
final
color → Color
The color of the ink annotation. Defaults to blue (#1460F3).
final
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, double? borderWidth}) → CPDFInkAttr
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