calcMatrixForRectInsidePage method
Matrix4
calcMatrixForRectInsidePage({
- required int pageNumber,
- required PdfRect rect,
- PdfPageAnchor? anchor,
Calculate the matrix for the specified area inside the page.
pageNumber
specifies the page number.
rect
specifies the area to go in page coordinates.
anchor
specifies how the page is positioned if the page is larger than the view.
Implementation
Matrix4 calcMatrixForRectInsidePage({
required int pageNumber,
required PdfRect rect,
PdfPageAnchor? anchor,
}) =>
_state._calcMatrixForRectInsidePage(
pageNumber: pageNumber,
rect: rect,
anchor: anchor,
);