Pilates
    Preparing search index...

    Variable EdgeConst

    Edge: {
        All: 6;
        Bottom: 2;
        Horizontal: 4;
        Left: 3;
        Right: 1;
        Top: 0;
        Vertical: 5;
    } = ...

    Edge identifiers for setters that target one or more sides of a box (padding, margin, position).

    All writes to top + right + bottom + left. Horizontal writes to left + right. Vertical writes to top + bottom.

    Implemented as a frozen const-object rather than enum so that verbatimModuleSyntax works smoothly and tree-shaking sees plain numeric literals.

    Type Declaration

    • ReadonlyAll: 6
    • ReadonlyBottom: 2
    • ReadonlyHorizontal: 4
    • ReadonlyLeft: 3
    • ReadonlyTop: 0
    • ReadonlyVertical: 5