/** * @ignore */ export class Readout { /** * @param {HTMLCanvasElement} canvas - The canvas the readout is placed over. */ constructor(canvas: HTMLCanvasElement); /** * @type {HTMLCanvasElement} * @private */ private _canvas; /** * The `div.gizmo-readout` element in the document body. * * @type {HTMLDivElement} * @private */ private _dom; /** * The markup shown, to skip unchanged rewrites. * * @private */ private _html; /** * Shows the markup centered on x, just below y, in canvas coordinates. * * @param {string} html - The readout markup. * @param {number} x - The canvas x coordinate to center on. * @param {number} y - The canvas y coordinate to sit below. */ show(html: string, x: number, y: number): void; hide(): void; destroy(): void; }