MLightCAD
    Preparing search index...

    Interface TextStyleFormState

    Editable fields of a text style as shown in the Text Style dialog (STYLE / ST). Mirrors AcDbTextStyleTableRecord properties in a UI-friendly shape.

    interface TextStyleFormState {
        backwards: boolean;
        bigFont: string;
        font: string;
        fontStyle: string;
        obliqueAngle: number;
        textHeight: number;
        upsideDown: boolean;
        useBigFont: boolean;
        vertical: boolean;
        widthFactor: number;
    }
    Index

    Properties

    backwards: boolean

    Mirror text backwards / right-to-left (text generation flag bit 1).

    bigFont: string

    Big font file name when useBigFont is true (bigFontFileName).

    font: string

    Primary font file name or mesh font identifier (fileName / textStyle.font).

    fontStyle: string

    Selected mesh font variant; equals font for SHX fonts.

    obliqueAngle: number

    Oblique angle in degrees (obliquingAngle).

    textHeight: number

    Default text height for new text entities (textSize).

    upsideDown: boolean

    Mirror text upside down (text generation flag bit 2; ignored when vertical is true).

    useBigFont: boolean

    Whether a companion SHX big font is enabled for double-byte character support.

    vertical: boolean

    Stack characters vertically (isVertical).

    widthFactor: number

    Horizontal scale factor (xScale); minimum clamped to 0.01.