PrinterDpi enum
Printer head resolution. Use the one printed on the printer's label; sending a 203 dpi image to a 300 dpi head prints it ~2/3 size.
Values
- dpi203 → const PrinterDpi
-
const PrinterDpi(203) - dpi300 → const PrinterDpi
-
const PrinterDpi(300)
Properties
- dotsPerMm → double
-
Dots per millimetre (8 at 203 dpi, ~11.8 at 300 dpi).
no setter
- 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
-
mmToDots(
double mm) → int -
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
-
values
→ const List<
PrinterDpi> - A constant List of the values in this enum, in order of their declaration.