import { Bounds } from './baseplayer'; import { AbstractPoseVisualizer } from './abstractvisualizer'; import { Keyframe } from './videopose-element'; export declare class VisualizationCanvas extends HTMLElement implements AbstractPoseVisualizer { static get observedAttributes(): string[]; /** * dot size in pixels */ dotSize: number; /** * dot color */ dotColor: string; /** * dot back color (if depth is provided, gradiate between the primary dot color in the * forefront and this back color at the farthest away */ dotBackColor?: string; canvas?: HTMLCanvasElement | null; canvasContext?: CanvasRenderingContext2D | null; offsetX: number; offsetY: number; clear(): void; resize(): void; draw(frames: Keyframe[], bounds: Bounds): void; drawPoints(coord: number[]): void; /** * debug method in case point positions need to be scrutinized */ drawGrid(): void; constructor(); protected attributeChangedCallback(name: string, _oldval: any, newval: any): Promise; protected static AdjustColorBrightness(col: string, amt: number): string; protected static InterpolateColor(c0: string, c1: string, f: number): string; } //# sourceMappingURL=visualization-canvas.d.ts.map