UNPKG

ag-charts-community

Version:

Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue

18 lines (17 loc) 600 B
import { Debug } from 'ag-charts-core'; import { HdpiCanvas } from './canvas/hdpiCanvas'; import { HdpiOffscreenCanvas } from './canvas/hdpiOffscreenCanvas'; export declare class LayersManager { readonly canvas: HdpiCanvas; readonly debug: Debug.DebugLogger; private readonly layersMap; private nextLayerId; constructor(canvas: HdpiCanvas); get size(): number; resize(width: number, height: number, pixelRatio: number): void; addLayer(opts: { name?: string; }): HdpiOffscreenCanvas; removeLayer(canvas: HdpiOffscreenCanvas): void; clear(): void; }