PdfGraphics constructor

PdfGraphics(
  1. PdfGraphicStream _page,
  2. PdfStream _buf
)

Create a new graphic canvas

Implementation

PdfGraphics(this._page, this._buf) {
  _context = _PdfGraphicsContext(ctm: Matrix4.identity());
}