copyWith method

PdfRect copyWith({
  1. double? x,
  2. double? y,
  3. double? width,
  4. double? height,
})

Implementation

PdfRect copyWith({
  double? x,
  double? y,
  double? width,
  double? height,
}) {
  return PdfRect(
    x ?? this.x,
    y ?? this.y,
    width ?? this.width,
    height ?? this.height,
  );
}