calcMatrixForPage method

Matrix4 calcMatrixForPage({
  1. required int pageNumber,
  2. PdfPageAnchor? anchor,
})

Calculate the matrix for the page.

pageNumber specifies the page number. anchor specifies how the page is positioned if the page is larger than the view.

Implementation

Matrix4 calcMatrixForPage({
  required int pageNumber,
  PdfPageAnchor? anchor,
}) =>
    _state._calcMatrixForPage(pageNumber: pageNumber, anchor: anchor);