MAIDR JavaScript API
    Preparing search index...

    Interface DotPadGeometry

    Physical layout of a connected tactile display, as the device itself reports it.

    Never hardcode these. Models differ — one DotPad has no text line at all — and a renderer that assumes one geometry silently draws garbage on another.

    interface DotPadGeometry {
        cellColumns: number;
        cellRows: number;
        textCells: number;
        dotWidth: number;
        dotHeight: number;
    }
    Index

    Properties

    cellColumns: number

    Braille cells across the graphic area.

    cellRows: number

    Braille cells down the graphic area.

    textCells: number

    Cells on the separate braille text line. Zero on models without one.

    dotWidth: number

    Pins across the graphic area — cellColumns * 2.

    dotHeight: number

    Pins down the graphic area — cellRows * 4.