UPCEANWriter class abstract

Encapsulates functionality and implementation that is common to UPC and EAN families of one-dimensional barcodes.

@author aripollak@gmail.com (Ari Pollak) @author dsbnatut@gmail.com (Kazuki Nishiura)

Inheritance
Implementers

Constructors

UPCEANWriter()

Properties

defaultMargin int
Use a different default more appropriate for UPC/EAN
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportedWriteFormats List<BarcodeFormat>?
no setterinherited

Methods

encode(String contents, BarcodeFormat format, int width, int height, [EncodeHint? hints]) BitMatrix
Encode the contents following specified format. width and height are required size. This method may return bigger size BitMatrix when specified size is too small. The user can set both width and height to zero to get minimum size barcode. If negative value is set to width or height, IllegalArgumentException is thrown.
inherited
encodeContent(String contents, [EncodeHint? hints]) List<bool>
Encode the contents to bool array expression of one-dimensional barcode. Start code and end code should be included in result, and side margins should not be included.
inherited
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