ElginAlign class

Enumeração de alinhamento para objetos impressos no papel.

Use as constantes desta classe para definir o alinhamento de textos, códigos de barras, QR Codes e outros elementos ao imprimir com dispositivos Elgin.

Exemplo de uso:

await Elgin.printer.printString(
  "Texto centralizado",
  align: ElginAlign.CENTER,
);

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
Valor inteiro do alinhamento utilizado pelo protocolo nativo.
final

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

Constants

CENTER → const ElginAlign
Alinhamento centralizado.
LEFT → const ElginAlign
Alinhamento à esquerda.
Alinhamento à direita.