PixiDom - v1.0.0
    Preparing search index...

    Interface ButtonStyleStateOptions

    Style options for a specific button state (default, hover, or pressed).

    interface ButtonStyleStateOptions {
        backgroundColor?: Color;
        backgroundOpacity?: number;
        backgroundTexture?: Texture;
        borderColor?: Color;
        borderOpacity?: number;
        borderRadius?: number;
        borderWidth?: number;
        height?: number;
        textColor?: Color;
        width?: number;
    }
    Index

    Properties

    backgroundColor?: Color

    Background color. Accepts any Color format.

    backgroundOpacity?: number

    Background opacity (0-1)

    backgroundTexture?: Texture

    Optional texture for the button background

    borderColor?: Color

    Border color. Accepts any Color format.

    borderOpacity?: number

    Border opacity (0-1)

    borderRadius?: number

    Border radius as a percentage (0-100)

    borderWidth?: number

    Border width in pixels

    height?: number

    Height of the button in pixels

    textColor?: Color

    Text color. Accepts any Color format.

    width?: number

    Width of the button in pixels