clik-engine API
    Preparing search index...

    Interface SpriteProgressBarConfig

    interface SpriteProgressBarConfig {
        animateDuration?: number;
        animateOnChange?: boolean;
        fillNineSlice?: {
            bottom: number;
            left: number;
            right: number;
            top: number;
        };
        fillTexture: string;
        fillTint?: number;
        height: number;
        trackNineSlice?: {
            bottom: number;
            left: number;
            right: number;
            top: number;
        };
        trackTexture: string;
        value?: number;
        width: number;
        x: number;
        y: number;
    }
    Index

    Properties

    animateDuration?: number

    Tween duration in ms (default 200).

    animateOnChange?: boolean

    Tween value changes (default false).

    fillNineSlice?: { bottom: number; left: number; right: number; top: number }

    9-slice insets for the fill sprite (optional).

    fillTexture: string

    Texture key for the fill bar.

    fillTint?: number

    Optional tint applied to the fill sprite.

    height: number
    trackNineSlice?: { bottom: number; left: number; right: number; top: number }

    9-slice insets for the track sprite (optional — uses setDisplaySize if omitted).

    trackTexture: string

    Texture key for the track / background bar frame.

    value?: number

    Current value 0-1 (default 0).

    width: number
    x: number
    y: number