12345678910111213141516171819 |
- import { CanvasContext, DisplayObject, GlobalRuntime, ParsedBaseStyleProps } from '@antv/g-lite';
- import type { ImagePool } from '@antv/g-plugin-image-loader';
- import { CanvasRendererPlugin } from '../../CanvasRendererPlugin';
- import type { StyleRenderer } from './interfaces';
- export declare class DefaultRenderer implements StyleRenderer {
- private imagePool;
- constructor(imagePool: ImagePool);
- render(context: CanvasRenderingContext2D, parsedStyle: ParsedBaseStyleProps, object: DisplayObject, canvasContext: CanvasContext, plugin: CanvasRendererPlugin, runtime: GlobalRuntime): void;
- private clearShadowAndFilter;
- private fill;
- private stroke;
- private getPattern;
- private getColor;
- }
- /**
- * apply before fill and stroke but only once
- */
- export declare function setShadowAndFilter(object: DisplayObject, context: CanvasRenderingContext2D, hasShadow: boolean): void;
- //# sourceMappingURL=Default.d.ts.map
|