copyWith method

CPDFCircleAttr copyWith({
  1. Color? fillColor,
  2. Color? borderColor,
  3. double? colorAlpha,
  4. double? borderWidth,
  5. CPDFBorderStyle? borderStyle,
})

Implementation

CPDFCircleAttr copyWith({
  Color? fillColor,
  Color? borderColor,
  double? colorAlpha,
  double? borderWidth,
  CPDFBorderStyle? borderStyle,
}) {
  return CPDFCircleAttr(
      fillColor: fillColor ?? this.fillColor,
      borderColor: borderColor ?? this.borderColor,
      colorAlpha: colorAlpha ?? this.colorAlpha,
      borderWidth: borderWidth ?? this.borderWidth,
      borderStyle: borderStyle ?? this.borderStyle);
}