Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@antv/g-plugin-canvas-renderer

Package Overview
Dependencies
Maintainers
47
Versions
256
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/g-plugin-canvas-renderer - npm Package Compare versions

Comparing version 1.0.0-alpha.16 to 1.0.0-alpha.17

4

dist/index.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc