PixiDom - v1.0.0
    Preparing search index...

    Type Alias StyleOptionsParams

    Configuration options for TextField styling.

    type StyleOptionsParams = {
        backgroundColor?: Color;
        borderColor?: Color;
        borderOpacity?: number;
        borderWidth?: number;
        cursorColor?: Color;
        cursorHeight?: number | string;
        cursorWidth: number;
        fontColor?: Color;
        height?: number | string;
        highlightedBackgroundColor?: Color;
        highlightedFontColor?: Color;
        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.

    cursorHeight?: number | string

    Cursor height (e.g., '90%' or 14)

    cursorWidth: number

    Cursor width in pixels

    fontColor?: Color

    Text color. Accepts any Color format.

    height?: number | string

    Height of the text field (e.g., '32px' or 32)

    highlightedBackgroundColor?: Color

    Background color for text selection. Accepts any Color format.

    highlightedFontColor?: Color

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

    width?: number | string

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

    xPadding?: number

    Horizontal padding in pixels

    yPadding?: number

    Vertical padding in pixels