ESCFontSize enum

Enum representing font sizes for thermal printers

Inheritance
Available extensions

Values

standard → const ESCFontSize
const ESCFontSize(0x00, '1x Height, 1x Width')
height2x → const ESCFontSize
const ESCFontSize(0x01, '2x Height, 1x Width')
height3x → const ESCFontSize
const ESCFontSize(0x02, '3x Height, 1x Width')
height4x → const ESCFontSize
const ESCFontSize(0x03, '4x Height, 1x Width')
width2x → const ESCFontSize
const ESCFontSize(0x10, '1x Height, 2x Width')
width3x → const ESCFontSize
const ESCFontSize(0x20, '1x Height, 3x Width')
width4x → const ESCFontSize
const ESCFontSize(0x30, '1x Height, 4x Width')
height2xWidth2x → const ESCFontSize
const ESCFontSize(0x11, '2x Height, 2x Width')
height2xWidth3x → const ESCFontSize
const ESCFontSize(0x12, '2x Height, 3x Width')
height2xWidth4x → const ESCFontSize
const ESCFontSize(0x13, '2x Height, 4x Width')
height3xWidth2x → const ESCFontSize
const ESCFontSize(0x21, '3x Height, 2x Width')
height3xWidth3x → const ESCFontSize
const ESCFontSize(0x22, '3x Height, 3x Width')
height3xWidth4x → const ESCFontSize
const ESCFontSize(0x23, '3x Height, 4x Width')
height4xWidth2x → const ESCFontSize
const ESCFontSize(0x31, '4x Height, 2x Width')
height4xWidth3x → const ESCFontSize
const ESCFontSize(0x32, '4x Height, 3x Width')
height4xWidth4x → const ESCFontSize
const ESCFontSize(0x33, '4x Height, 4x Width')

Properties

description String
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ESCFontSize>
A constant List of the values in this enum, in order of their declaration.