mwg API
    Preparing search index...

    Interface MeterOptions

    interface MeterOptions {
        color?: number;
        count: number;
        emptyColor?: number;
        emptyTexture?: Texture<TextureSource<any>>;
        filledTexture?: Texture<TextureSource<any>>;
        gap?: number;
        size?: number;
        value?: number;
    }
    Index
    color?: number

    filled colour in flat mode; tints filledTexture too, when both are given

    count: number

    total icons; fractional counts floor, below 1 becomes 1

    emptyColor?: number

    empty colour in flat mode; the theme's panel fill when omitted

    emptyTexture?: Texture<TextureSource<any>>

    the empty icon's art; filledTexture must come with it, or neither

    filledTexture?: Texture<TextureSource<any>>

    the filled icon's art; emptyTexture must come with it, or neither

    gap?: number

    gap between icons in pixels

    size?: number

    icon diameter in pixels

    value?: number

    filled icons, fractions allowed (a half heart is 0.5); defaults to full