PdfRect constructor

const PdfRect(
  1. double left,
  2. double top,
  3. double right,
  4. double bottom,
)

Implementation

const PdfRect(this.left, this.top, this.right, this.bottom)
  : assert(left <= right, 'Left coordinate must be less than or equal to right coordinate.'),
    assert(top >= bottom, 'Top coordinate must be greater than or equal to bottom coordinate.');