TscText class

TEXT command: prints a text string.

Implemented types

Constructors

TscText({required int x, required int y, required String font, int rotation = 0, int xMultiplier = 1, int yMultiplier = 1, required String content})
Creates a TEXT command.

Properties

content → String
Text to print. Embedded " characters are escaped automatically.
final
font → String
Font name or number, e.g. 3, TSS24.BF2 or an alphabetic font.
final
hashCode → int
The hash code for this object.
no setterinherited
rotation → int
Rotation in degrees: 0, 90, 180 or 270.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
x → int
X coordinate in dots.
final
xMultiplier → int
Horizontal magnification, 1-10.
final
y → int
Y coordinate in dots.
final
yMultiplier → int
Vertical magnification, 1-10.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCommandString() → String
Converts the command object to its string representation for the printer.
override
toString() → String
A string representation of this object.
inherited

Operators

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