PdfRect.fromPoints constructor

PdfRect.fromPoints(
  1. PdfPoint offset,
  2. PdfPoint size
)

Implementation

factory PdfRect.fromPoints(PdfPoint offset, PdfPoint size) {
  return PdfRect(offset.x, offset.y, size.x, size.y);
}