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.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. -
toOffsetInDocument(
{required PdfPage page, required Rect pageRect}) → Offset -
Available on PdfPoint, provided by the PdfPointExt extension