Represents a DXF TEXT entity with text positioning and formatting attributes.

interface ITextEntityExtended {
    block?: boolean;
    halign?: number;
    rotation?: number;
    startPoint: {
        x: number;
        y: number;
    };
    string?: string;
    tag?: string;
    text?: string;
    textHeight?: number;
}

Hierarchy

  • IEntity
    • ITextEntityExtended

Properties

block?: boolean

The block this text entity belongs to.

halign?: number

The horizontal alignment of the text.

rotation?: number

Text rotation angle in degrees.

startPoint: {
    x: number;
    y: number;
}

Start point of the text entity.

string?: string

Alternative text content field.

tag?: string

Tag or label identifier for the text.

text?: string

Text string value.

textHeight?: number

Text height.