translate method

PdfRect translate(
  1. double dx,
  2. double dy
)

Translate the rectangle.

dx is added to left and right, and dy is added to top and bottom.

Implementation

PdfRect translate(double dx, double dy) => PdfRect(left + dx, top + dy, right + dx, bottom + dy);