copyWith method
CPDFArrowAttr
copyWith({
- Color? borderColor,
- double? borderAlpha,
- double? borderWidth,
- CPDFBorderStyle? borderStyle,
- CPDFLineType? headType,
- CPDFLineType? tailType,
Implementation
CPDFArrowAttr copyWith({
Color? borderColor,
double? borderAlpha,
double? borderWidth,
CPDFBorderStyle? borderStyle,
CPDFLineType? headType,
CPDFLineType? tailType,
}) {
return CPDFArrowAttr(
borderColor: borderColor ?? this.borderColor,
borderAlpha: borderAlpha ?? this.borderAlpha,
borderWidth: borderWidth ?? this.borderWidth,
borderStyle: borderStyle ?? this.borderStyle,
headType: headType ?? this.headType,
tailType: tailType ?? this.tailType,
);
}