@antv/g-plugin-canvas-renderer
Advanced tools
Comparing version 1.0.0-alpha.16 to 1.0.0-alpha.17
import { RendererPlugin } from '@antv/g'; | ||
import { Container } from 'inversify'; | ||
import RBush from 'rbush'; | ||
import { StyleRenderer } from './shapes/styles'; | ||
import { PathGeneratorFactory, PathGenerator } from './shapes/paths'; | ||
import { RBushRoot } from './CanvasRendererPlugin'; | ||
import { RBushNode, RBushNodeAABB } from './components/RBushNode'; | ||
export { PathGeneratorFactory, PathGenerator, RBushNode, RBushNodeAABB, RBushRoot, RBush }; | ||
export { PathGeneratorFactory, PathGenerator, StyleRenderer, RBushNode, RBushNodeAABB, RBushRoot, RBush }; | ||
export declare class Plugin implements RendererPlugin { | ||
@@ -12,1 +13,2 @@ init(container: Container): void; | ||
} | ||
export declare function registerStyleRenderer(tagName: string, RendererClazz: new (...args: any[]) => StyleRenderer): void; |
@@ -1,2 +0,2 @@ | ||
import { CircleStyleProps } from '@antv/g'; | ||
export declare function generatePath(context: CanvasRenderingContext2D, attributes: CircleStyleProps): void; | ||
import { ParsedCircleStyleProps } from '@antv/g'; | ||
export declare function generatePath(context: CanvasRenderingContext2D, parsedStyle: ParsedCircleStyleProps): void; |
import { ParsedBaseStyleProps } from '@antv/g'; | ||
export declare const PathGeneratorFactory = "PathGeneratorFactory"; | ||
export declare const PathGenerator = "PathGenerator"; | ||
export declare const PathGenerator = "Path"; | ||
/** | ||
@@ -5,0 +5,0 @@ * generate path in local space |
@@ -1,6 +0,6 @@ | ||
import { ParsedBaseStyleProps } from '@antv/g'; | ||
import type { ParsedBaseStyleProps, DisplayObject } from '@antv/g'; | ||
export declare const StyleRendererFactory = "StyleRendererFactory"; | ||
export declare const StyleRenderer = "StyleRenderer"; | ||
export interface StyleRenderer { | ||
render(context: CanvasRenderingContext2D, parsedStyle: ParsedBaseStyleProps): void; | ||
render(context: CanvasRenderingContext2D, parsedStyle: ParsedBaseStyleProps, object: DisplayObject): void; | ||
} | ||
@@ -7,0 +7,0 @@ export * from './Default'; |
{ | ||
"name": "@antv/g-plugin-canvas-renderer", | ||
"version": "1.0.0-alpha.16", | ||
"version": "1.0.0-alpha.17", | ||
"description": "A G plugin of renderer implementation with Canvas2D API", | ||
@@ -35,3 +35,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@antv/g": "^1.0.0-alpha.15", | ||
"@antv/g": "^1.0.0-alpha.16", | ||
"@antv/g-ecs": "^1.0.0-alpha.4", | ||
@@ -51,3 +51,4 @@ "@antv/g-math": "^1.0.0-alpha.2", | ||
"@antv/g": "^1.0.0-alpha.4" | ||
} | ||
}, | ||
"gitHead": "dd6aa2ba7ce8dab3596e6a971e3f6998c3114276" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
163247
26
4293
Updated@antv/g@^1.0.0-alpha.16