LabelJob class

Builds a complete print job for one label (or roll slice) from image.

image should already be rendered at dpi -- its width in pixels is the width in printer dots. Black/dark pixels print.

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

build(Image image, {required LabelLanguage language, PrinterDpi dpi = PrinterDpi.dpi203, LabelCompression compression = LabelCompression.none, double? widthMm, double? heightMm, double gapMm = 2, LabelMedia media = LabelMedia.gap, int copies = 1, int threshold = 127, double topOffsetMm = 0}) → List<int>