containsPoint method

bool containsPoint(
  1. PdfPoint offset, {
  2. double margin = 0,
})

Determine whether the rectangle contains the specified point (in the PDF page coordinates).

Implementation

bool containsPoint(PdfPoint offset, {double margin = 0}) => containsXy(offset.x, offset.y, margin: margin);