PixiDom - v1.0.0
    Preparing search index...

    Interface ButtonStyleOptions

    Configuration options for creating a Button component.

    interface ButtonStyleOptions {
        defaultStyle: ButtonStyleStateOptions;
        font: string;
        fontSize?: number;
        hoverStyle?: ButtonStyleStateOptions;
        pressedStyle?: ButtonStyleStateOptions;
        useBitmapText: boolean;
    }
    Index

    Properties

    Style options for the default/idle state

    font: string

    Font name to use (bitmap font name or font family)

    fontSize?: number

    Font size in pixels (only applies when useBitmapText is false)

    Style options for the hover state

    Style options for the pressed/active state

    useBitmapText: boolean

    Whether to use BitmapText (true) or regular Text (false) for the label