PdfTextStamp constructor

const PdfTextStamp({
  1. required String text,
  2. PdfFont? font,
  3. double fontSize = 10,
  4. PdfColor color = PdfColors.black,
  5. PdfColor? background,
  6. PdfColor? borderColor,
  7. double borderWidth = 0.5,
  8. double padding = 0,
  9. PdfStampAnchor anchor = PdfStampAnchor.bottomRight,
  10. double marginX = 24,
  11. double marginY = 24,
  12. PdfPoint? position,
  13. double rotationDegrees = 0,
  14. PdfStampLayer layer = PdfStampLayer.overlay,
})

Creates the text stamp.

Implementation

const PdfTextStamp({
  required this.text,
  this.font,
  this.fontSize = 10,
  this.color = PdfColors.black,
  this.background,
  this.borderColor,
  this.borderWidth = 0.5,
  this.padding = 0,
  super.anchor,
  super.marginX,
  super.marginY,
  super.position,
  super.rotationDegrees,
  super.layer,
});