PdfImageStamp class
Image stamp.
Constructors
- PdfImageStamp({required PdfImage image, double? width, double? height, PdfStampAnchor anchor = PdfStampAnchor.bottomRight, double marginX = 24, double marginY = 24, PdfPoint? position, double rotationDegrees = 0, PdfStampLayer layer = PdfStampLayer.overlay})
-
Creates the image stamp.
const
Properties
- anchor → PdfStampAnchor
-
Reference corner or edge within the visible area.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
Wanted height, in display points.
final
- image → PdfImage
-
The image, already registered in the document.
final
- layer → PdfStampLayer
-
Whether the stamp goes over or under the original content.
finalinherited
- marginX → double
-
Horizontal distance between the stamp and the edge, in display points.
finalinherited
- marginY → double
-
Vertical distance between the stamp and the edge, in display points.
finalinherited
- position → PdfPoint?
-
Explicit upper-left corner, in "top-left" coordinates.
finalinherited
- rotationDegrees → double
-
Rotation of the stamp itself, in degrees counter-clockwise on display.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → double?
-
Wanted width, in display points.
final
Methods
-
measure(
PdfDocument document) → PdfPoint -
Size of the stamp, in display points.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paint(
PdfGraphics canvas, PdfPoint size) → void -
Draws the stamp on the local system described in the class documentation.
override
-
resolveRect(
PdfCoordinateTransformer transformer, PdfPoint size) → PdfTopLeftRect -
Area taken up by the stamp, in "top-left" coordinates.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited