copyWith method

CPDFArrowAttr copyWith({
  1. Color? borderColor,
  2. double? borderAlpha,
  3. double? borderWidth,
  4. CPDFBorderStyle? borderStyle,
  5. CPDFLineType? headType,
  6. 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,
  );
}