Interface DmdOptions

interface DmdOptions {
    dotSize: number;
    dotSpace: number;
    dotShape: DotShape;
    backgroundBrightness: number;
    brightness: number;
    showFPS: boolean;
    color?: string | RgbColor;
    monoLevels?: 4 | 8 | 16;
    offDotColor?: string | RgbColor;
}

Properties

dotSize: number
dotSpace: number
dotShape: DotShape
backgroundBrightness: number
brightness: number
showFPS: boolean
color?: string | RgbColor

If provided, enables monochrome mode with this tint color. Accepts an RgbColor object, a CSS hex string, or a Colors enum value.

monoLevels?: 4 | 8 | 16

Number of monochrome brightness levels. One of 4, 8, 16. Defaults to 16.

offDotColor?: string | RgbColor

Off-dot (background) color. Accepts an RgbColor object, a CSS hex string, or a Colors enum value.