IFClite TypeScript API
    Preparing search index...

    Class SymbolicText

    A 2D text annotation (IfcTextLiteral / IfcTextLiteralWithExtent).

    Position is in the same 2D coordinate space as SymbolicPolyline (i.e. the floor-plan / annotation overlay's local frame after applying placement + RTC). The text-orientation pair (cos, sin) rotates the baseline from the +x axis. Height is the IFC font height in model units, scaled by the project's length-unit factor so the renderer can convert directly to world units. Alignment is the IFC BoxAlignment string verbatim (top-left, center, bottom-right, …) — the renderer can interpret it.

    Index
    alignment: string
    colorA: number
    colorB: number
    colorG: number
    colorR: number
    content: string
    dirX: number
    dirY: number
    expressId: number
    height: number
    ifcType: string
    repIdentifier: string
    targetPx: number
    worldY: number
    x: number
    y: number
    • Returns void

    • Returns void