OptionalfontOptionalfamily?: FontFamilyOptionalh?: numberFont height in dots; rounded to an integer with a minimum of 1.
Optionalw?: numberFont width in dots; rounded to an integer with a minimum of 1 (defaults to height when omitted).
OptionalrotateOptionalwrapOptionalhangingIndent?: numberHanging indent in dots; rounded to an integer with a minimum of 0.
Optionaljustify?: JustifyOptionallines?: numberOptionalspacing?: numberInter-line spacing in dots; rounded to an integer with a minimum of 0.
Options for text fields on the label.
Remarks
This interface defines the configuration options for adding text to a label:
at: Specifies the x and y coordinates for the text position.text: The actual text string to be printed.font: Optional font settings including family, height, and width.rotate: Optional orientation of the text (N, R, I, B).wrap: Optional text wrapping settings including width, number of lines, spacing, justification, and hanging indent.