Atrium — shared contracts and the typesetting engine
    Preparing search index...

    Interface Glue

    Stretchable, shrinkable, breakable space.

    interface Glue {
        kind: "glue";
        natural: number;
        shrink: number;
        shrinkOrder: GlueOrder;
        stretch: number;
        stretchOrder: GlueOrder;
    }
    Index
    kind: "glue"
    natural: number

    The size it wants to be.

    shrink: number

    How much it will compress. Shrink is a hard limit; stretch is not.

    shrinkOrder: GlueOrder
    stretch: number

    How much it will grow, in units of stretchOrder.

    stretchOrder: GlueOrder