UNPKG

@visactor/vrender-core

Version:

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

19 lines (18 loc) 860 B
import type { IBounds } from '@visactor/vutils'; import type { IGroup, IGraphic, IRenderService, IRenderServiceDrawParams, IDrawContribution } from '../interface'; export declare class DefaultRenderService implements IRenderService { readonly drawContribution: IDrawContribution; dirtyBounds: IBounds; renderTreeRoots: IGraphic[]; renderLists: IGraphic[]; drawParams: IRenderServiceDrawParams; constructor(drawContribution: IDrawContribution); prepare(updateBounds: boolean): void; protected _prepare(g: IGraphic, updateBounds: boolean): void; prepareRenderList(): void; beforeDraw(params: IRenderServiceDrawParams): void; draw(params: IRenderServiceDrawParams): void; afterDraw(params: IRenderServiceDrawParams): void; reInit(): void; render(groups: IGroup[], params: IRenderServiceDrawParams): void; }