SignPdfElement.stamp constructor
SignPdfElement.stamp({})
Create a stamp element
Implementation
factory SignPdfElement.stamp({
required String stampData,
required double x,
required double y,
required double width,
required double height,
double rotation = 0,
double scale = 1,
required int page,
}) {
return SignPdfElement(
type: 'stamp',
data: stampData,
position: {'x': x, 'y': y},
size: {'width': width, 'height': height},
rotation: rotation,
scale: scale,
page: page,
);
}