CPDFCircleAttr class

Inheritance

Constructors

CPDFCircleAttr({Color fillColor = const Color(0xFF1460F3), Color borderColor = Colors.black, double colorAlpha = 128, double borderWidth = 2, CPDFBorderStyle? borderStyle = const CPDFBorderStyle.solid()})
const

Properties

borderColor Color
The color of the border.
finalinherited
borderStyle CPDFBorderStyle?
Set the border style to dashed or solid.
finalinherited
borderWidth double
border thickness, value range:1~10
finalinherited
colorAlpha double
Fill color and border color transparency.
Range: 0-255.
finalinherited
fillColor Color
The fill color of the shape.
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? fillColor, Color? borderColor, double? colorAlpha, double? borderWidth, CPDFBorderStyle? borderStyle}) CPDFCircleAttr
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

Static Methods

fromJson(Map<String, dynamic> json) CPDFCircleAttr
Creates a CPDFShapeAttr instance from a JSON map. example:
override