PdfBox.fromSize constructor

PdfBox.fromSize(
  1. double width,
  2. double height
)

Creates the box with origin at (0, 0) and the given size.

Implementation

factory PdfBox.fromSize(double width, double height) =>
    PdfBox(0, 0, width, height);