@visactor/vrender-core
Version:
```typescript import { xxx } from '@visactor/vrender-core'; ```
8 lines (7 loc) • 409 B
TypeScript
import type { ILayer } from '../interface';
import type { ILayerConstructor, ILayerFactory, ILayerFactoryCreateParams } from './types';
export declare class LayerFactory<TLayer extends ILayer = ILayer> implements ILayerFactory<TLayer> {
private readonly LayerCtor;
constructor(LayerCtor?: ILayerConstructor<TLayer>);
create({ stage, global, window, params }: ILayerFactoryCreateParams): TLayer;
}