Strata - v1.4.10
    Preparing search index...

    Interface ProgressBarConfig

    Configuration for a progress bar UI element.

    interface ProgressBarConfig {
        animationDuration?: number;
        backgroundColor?: string;
        borderColor?: string;
        borderRadius?: number;
        borderWidth?: number;
        fillColor?: string;
        glowColor?: string;
        glowIntensity?: number;
        height?: number;
        maxValue: number;
        segments?: number;
        showText?: boolean;
        textFormat?: "value" | "none" | "percentage" | "fraction";
        value: number;
        width?: number;
    }
    Index

    Properties

    animationDuration?: number

    Duration of fill animations in milliseconds.

    backgroundColor?: string

    CSS-compatible background color string.

    borderColor?: string

    CSS-compatible border color string.

    borderRadius?: number

    Border radius in pixels for rounded corners.

    borderWidth?: number

    Border thickness in pixels.

    fillColor?: string

    CSS-compatible fill color string.

    glowColor?: string

    CSS-compatible glow color string.

    glowIntensity?: number

    Intensity of the glow effect (0-1).

    height?: number

    Physical or pixel height.

    maxValue: number

    Maximum value representing 100% completion.

    segments?: number

    Number of visual segments (e.g., for segmented health bars).

    showText?: boolean

    Whether to display text (e.g., "75%").

    textFormat?: "value" | "none" | "percentage" | "fraction"

    Format for the displayed progress text.

    value: number

    Current progress value.

    width?: number

    Physical or pixel width.