PdfImageStamp constructor

const PdfImageStamp({
  1. required PdfImage image,
  2. double? width,
  3. double? height,
  4. PdfStampAnchor anchor = PdfStampAnchor.bottomRight,
  5. double marginX = 24,
  6. double marginY = 24,
  7. PdfPoint? position,
  8. double rotationDegrees = 0,
  9. PdfStampLayer layer = PdfStampLayer.overlay,
})

Creates the image stamp.

Without width and height, the image takes one display point per pixel. Giving only one of the two derives the other from the original aspect ratio.

Implementation

const PdfImageStamp({
  required this.image,
  this.width,
  this.height,
  super.anchor,
  super.marginX,
  super.marginY,
  super.position,
  super.rotationDegrees,
  super.layer,
});