Member Junction
    Preparing search index...

    A free-floating text label.

    interface WhiteboardTextItem {
        Author: WhiteboardAuthor;
        Color?: string;
        FontFamily?: WhiteboardFontFamily;
        FontSize?: number;
        FontWeight?: WhiteboardFontWeight;
        ID: string;
        Kind: "text";
        Text: string;
        W?: number;
        X: number;
        Y: number;
        Z: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Who placed the item. Drives the ownership chrome (chips / violet vs slate-amber).

    Color?: string

    Text color from the USER pen palette. Violet is reserved for the agent's ownership styling (enforced in the user UI — the palette never offers violet); agent text gets its violet from the Author treatment, never from this field.

    Font family key (mapped to token-friendly stacks in CSS); omitted = sans.

    FontSize?: number

    Curated font size (see WHITEBOARD_FONT_SIZES); omitted = the CSS default.

    Font weight; omitted = the kind's CSS default.

    ID: string

    Stable item id (e.g. sticky-3) — referenced by connectors, deltas and agent tools.

    Kind: "text"
    Text: string
    W?: number

    Wrap width in px — text wraps at this width. Omitted = wrap at the default max width.

    X: number
    Y: number
    Z: number

    Render order (higher renders on top). Assigned by the engine.