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
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.
- RIGHT → const ElginAlign
- Alinhamento à direita.