PixiDom - v1.0.0
    Preparing search index...

    Type Alias TextAreaStyleOptionsParams

    Configuration options for TextArea styling.

    type TextAreaStyleOptionsParams = {
        backgroundColor?: Color;
        borderColor?: Color;
        borderOpacity?: number;
        borderWidth?: number;
        cursorColor?: Color;
        cursorWidth?: number;
        fontColor?: Color;
        fontSize?: number;
        height?: number | string;
        highlightedBackgroundColor?: Color;
        highlightedFontColor?: Color;
        lineHeight?: number;
        measureGlyph?: MeasureGlyph;
        width?: number | string;
        xPadding?: number;
        yPadding?: number;
    }
    Index

    Properties

    backgroundColor?: Color

    Background color. Accepts any Color format.

    borderColor?: Color

    Border color. Accepts any Color format.

    borderOpacity?: number

    Border opacity (0-1)

    borderWidth?: number

    Border width in pixels

    cursorColor?: Color

    Cursor color. Accepts any Color format.

    cursorWidth?: number

    Cursor width in pixels

    fontColor?: Color

    Text color. Accepts any Color format.

    fontSize?: number

    Font size used to scale bitmap font metrics. Defaults to the font's base size.

    height?: number | string

    Height of the text area (e.g., '120px' or 120)

    highlightedBackgroundColor?: Color

    Background color for text selection. Accepts any Color format.

    highlightedFontColor?: Color

    Color of selected/highlighted text. Accepts any Color format.

    lineHeight?: number

    Line height in pixels. Defaults to the bitmap font's line height.

    measureGlyph?: MeasureGlyph

    Custom glyph measurement — overrides the bitmap font metrics.

    width?: number | string

    Width of the text area (e.g., '300px' or 300)

    xPadding?: number

    Horizontal padding in pixels

    yPadding?: number

    Vertical padding in pixels