copyWith method
Implementation
CPDFEditorTextAttr copyWith({
Color? fontColor,
double? fontColorAlpha,
double? fontSize,
String? familyName,
String? styleName,
CPDFAlignment? alignment,
}) {
return CPDFEditorTextAttr(
fontColor: fontColor ?? this.fontColor,
fontColorAlpha: fontColorAlpha ?? this.fontColorAlpha,
fontSize: fontSize ?? this.fontSize,
familyName: familyName ?? this.familyName,
styleName: styleName ?? this.styleName,
alignment: alignment ?? this.alignment);
}