IFClite TypeScript API
    Preparing search index...

    Interface SymbolicText

    A 2D text annotation (IfcTextLiteral / grid bubble glyphs + tags).

    interface SymbolicText {
        alignment: string;
        color: [number, number, number, number];
        content: string;
        dir_x: number;
        dir_y: number;
        express_id: number;
        height: number;
        ifc_type: string;
        representation: string;
        target_px: number;
        world_y: number | null;
        x: number;
        y: number;
    }
    Index
    alignment: string

    IFC BoxAlignment (top-left, center, …). Empty when absent.

    color: [number, number, number, number]

    sRGB straight-alpha colour [r, g, b, a].

    content: string
    dir_x: number

    Baseline orientation as a (cos, sin) pair.

    dir_y: number
    express_id: number
    height: number

    Font cap height in model units (already unit-scaled).

    ifc_type: string
    representation: string
    target_px: number

    Per-instance target screen-pixel cap height (0 = renderer default).

    world_y: number | null

    World-Y elevation in metres, or null when unresolved. See the "UNRESOLVED SCALARS" note at the top of this section — null is not 0.

    x: number
    y: number