rednode API - v0.80.1
    Preparing search index...

    Interface InkContainerProps

    Properties of ink.column, ink.row and ink.canvas.

    interface InkContainerProps {
        align?: InkAlign;
        anchor?: InkAnchor;
        color?: InkColor;
        gap?: number;
        grow?: number;
        height?: number;
        id?: string;
        look?: "game" | "plain";
        margin?: number | readonly [number, number, number, number];
        opacity?: number;
        pad?: number | readonly [number, number, number, number];
        tone?: InkTone;
        visible?: boolean;
        width?: number;
        x?: number;
        y?: number;
    }

    Hierarchy (View Summary)

    Index
    align?: InkAlign

    How the children line up across the container, unless they say otherwise; see InkAlign.

    anchor?: InkAnchor

    Where the node sits in a canvas. Children of column and row are placed by them instead.

    color?: InkColor

    Its color (a tint: text and shapes take it as their color).

    gap?: number

    Space between the children (column and row).

    grow?: number

    In a column or row with a size of its own: takes this share of the space left.

    height?: number

    The node's height.

    id?: string

    A name to find the node by with InkMount.get.

    look?: "game" | "plain"

    "game" takes the game's look: its style sheet, its colors and, for text, its fonts and sizes. Giving a tone or a text style means "game" too. "plain" (the default for these basic tags) is styled by its own props only.

    margin?: number | readonly [number, number, number, number]

    Space around the node: one number for every side, or [left, top, right, bottom].

    opacity?: number

    From 0 (invisible) to 1.

    pad?: number | readonly [number, number, number, number]

    Space inside, around the children: one number, or [left, top, right, bottom].

    tone?: InkTone

    One of the game's color roles; see InkTone. A color given wins over it.

    visible?: boolean
    width?: number

    The node's width. Give width and height together.

    x?: number

    Moves the node from its anchor, in the layer's units, to the right.

    y?: number

    Moves the node from its anchor, in the layer's units, down.