ScanWatermark class
Enterprise scan watermark service for applying text overlays to scanned image byte buffers with configurable position, opacity, and rotation.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
apply(
Uint8List imageBytes, {required int width, required int height, required WatermarkConfig config}) → WatermarkResult - Applies a text watermark to grayscale image bytes.
-
applySimple(
Uint8List imageBytes, {required int width, required int height, required String text, double opacity = 0.3}) → WatermarkResult - Applies a quick watermark with text at center position using default settings.
-
generatePdfWatermarkStream(
String text, {double opacity = 0.3, double fontSize = 42}) → String - Generates a PDF watermark content stream for embedding in PDF pages.