PdfRectExt extension
- on
Methods
-
toRect(
{required PdfPage page, Size? scaledPageSize, int? rotation}) → Rect -
Available on PdfRect, provided by the PdfRectExt extension
Convert to Rect in Flutter coordinate.pageis the page to convert the rectangle.scaledPageSizeis the scaled page size to scale the rectangle. If not specified, PdfPage.size is used.rotationis the rotation of the page. If not specified, PdfPage.rotation is used. -
toRectInDocument(
{required PdfPage page, required Rect pageRect}) → Rect -
Available on PdfRect, provided by the PdfRectExt extension
Convert to Rect in Flutter coordinate usingpageRectas the page's bounding rectangle.