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

    Interface BoxOpts

    Options for box/graphic fields on the label.

    This interface defines the configuration options for adding a box or graphic to a label:

    • at: Specifies the x and y coordinates for the box position.
    • size: Specifies the width and height of the box.
    • border: Optional border thickness of the box.
    • fill: Optional fill color of the box, either black ('B') or white ('W').
    • reverse: Optional field reverse (^FR) - reverses the field colors within the box area.
    • cornerRadius: Optional corner rounding (0-8) for rounded rectangle corners.
    interface BoxOpts {
        at: Position;
        border?: number;
        cornerRadius?: number;
        fill?: Fill;
        reverse?: boolean;
        size: { h: number; w: number };
    }
    Index

    Properties

    border?: number

    Border thickness in dots; rounded to an integer with a minimum of 1.

    cornerRadius?: number

    Corner rounding in dots; rounded to an integer and clamped between 0 and 8.

    fill?: Fill
    reverse?: boolean
    size: { h: number; w: number }