CPDFArrowAttr class

Inheritance

Constructors

CPDFArrowAttr({Color borderColor = Colors.black, double borderAlpha = 128, double borderWidth = 2, CPDFBorderStyle? borderStyle = const CPDFBorderStyle.solid(), CPDFLineType? headType = CPDFLineType.none, CPDFLineType? tailType = CPDFLineType.openArrow})
const

Properties

borderAlpha double
Fill color and border color transparency.
Range: 0-255.
final
borderColor Color
The color of the border.
final
borderStyle CPDFBorderStyle?
Set the border style to dashed or solid.
final
borderWidth double
border thickness, value range:1~10
final
hashCode int
The hash code for this object.
no setterinherited
headType CPDFLineType?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tailType CPDFLineType?
Arrow tail position shape.
final
type String
no setteroverride

Methods

copyWith({Color? borderColor, double? borderAlpha, double? borderWidth, CPDFBorderStyle? borderStyle, CPDFLineType? headType, CPDFLineType? tailType}) CPDFArrowAttr
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

Static Methods

fromJson(Map<String, dynamic> json) CPDFArrowAttr