@schie/fluent-zpl - v0.10.0
    Preparing search index...

    Interface CaptionOpts

    Options for caption text fields (convenience method for simple text with symmetric font sizing).

    This interface defines the configuration options for adding caption text to a label:

    • at: Specifies the x and y coordinates for the caption position.
    • text: The caption text string to be printed.
    • size: Optional font size in dots (applies to both height and width).
    • family: Optional font family.
    • rotate: Optional orientation of the text.
    • wrapWidth: Optional width for text wrapping in current units.
    interface CaptionOpts {
        at: Position;
        family?: FontFamily;
        rotate?: Orientation;
        size?: number;
        text: string;
        wrapWidth?: number;
    }
    Index

    Properties

    family?: FontFamily
    rotate?: Orientation
    size?: number

    Font size in dots; rounded to an integer with a minimum of 1.

    text: string
    wrapWidth?: number