PdfPointExt extension

on

Methods

toOffset({required PdfPage page, Size? scaledPageSize, int? rotation}) Offset

Available on PdfPoint, provided by the PdfPointExt extension

Convert to Offset in Flutter coordinate. page is the page to convert the rectangle. scaledPageSize is the scaled page size to scale the rectangle. If not specified, PdfPage.size is used. rotation is the rotation of the page. If not specified, PdfPage.rotation is used.
toOffsetInDocument({required PdfPage page, required Rect pageRect}) Offset

Available on PdfPoint, provided by the PdfPointExt extension