UNPKG

@visactor/vrender-core

Version:

```typescript import { xxx } from '@visactor/vrender-core'; ```

12 lines (11 loc) 493 B
import type { IGraphicRender } from '../interface/render'; import type { IRendererRegistry, IRendererRegistryEntry, RegistryKey } from './types'; export declare class RendererRegistry implements IRendererRegistry { private readonly entries; private readonly cache; register(key: RegistryKey, renderer: IRendererRegistryEntry): void; unregister(key: RegistryKey): void; get(key: RegistryKey): IGraphicRender | undefined; getAll(): IGraphicRender[]; clear(): void; }