Paper Constructor

constructor(width: ImageWriter.Dimension, height: ImageWriter.Dimension, margins: ImageWriter.Dimension.Fixed)

Parameters

  • width — the page width.
  • height — the page height.
  • margins — the blank border, the same on all four sides.
Top