PdfTextStamp constructor
const
PdfTextStamp({
- required String text,
- PdfFont? font,
- double fontSize = 10,
- PdfColor color = PdfColors.black,
- PdfColor? background,
- PdfColor? borderColor,
- double borderWidth = 0.5,
- double padding = 0,
- PdfStampAnchor anchor = PdfStampAnchor.bottomRight,
- double marginX = 24,
- double marginY = 24,
- PdfPoint? position,
- double rotationDegrees = 0,
- 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,
});