Socket
Socket
Sign inDemoInstall

@antv/g-lite

Package Overview
Dependencies
Maintainers
64
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/g-lite - npm Package Compare versions

Comparing version 1.2.21 to 1.2.22

3

dist/Canvas.d.ts

@@ -9,3 +9,3 @@ import type { IRenderer } from './AbstractRenderer';

import type { PointLike } from './shapes';
import type { CanvasConfig, Cursor, InteractivePointerEvent } from './types';
import { type CanvasConfig, type Cursor, type InteractivePointerEvent } from './types';
export declare function isCanvas(value: any): value is Canvas;

@@ -85,2 +85,3 @@ export declare enum CanvasEvent {

private initDefaultCamera;
private updateSizeAttenuation;
getConfig(): Partial<CanvasConfig>;

@@ -87,0 +88,0 @@ /**

@@ -125,2 +125,3 @@ import type { BaseStyleProps } from '..';

recalc: (displayObject: DisplayObject) => void;
updateSizeAttenuation: (displayObject: DisplayObject, zoom: number) => void;
registerMetadata: (metadata: PropertyMetadata) => void;

@@ -127,0 +128,0 @@ unregisterMetadata: (name: string) => void;

@@ -53,3 +53,4 @@ import type { DisplayObject } from '../display-objects';

private updateGeometry;
updateSizeAttenuation(node: DisplayObject, zoom: number): void;
private isPropertyInheritable;
}

@@ -11,2 +11,3 @@ import type { DisplayObjectConfig } from '../dom/interfaces';

isBillboard?: boolean;
isSizeAttenuation?: boolean;
}

@@ -20,2 +21,3 @@ export interface ParsedEllipseStyleProps extends ParsedBaseStyleProps {

isBillboard?: boolean;
isSizeAttenuation?: boolean;
}

@@ -22,0 +24,0 @@ export declare class Ellipse extends DisplayObject<EllipseStyleProps, ParsedEllipseStyleProps> {

@@ -25,2 +25,3 @@ import type { DisplayObjectConfig } from '../dom';

isBillboard?: boolean;
isSizeAttenuation?: boolean;
}

@@ -40,2 +41,3 @@ export interface ParsedPolygonStyleProps extends ParsedBaseStyleProps {

isBillboard?: boolean;
isSizeAttenuation?: boolean;
}

@@ -42,0 +44,0 @@ export declare class Polygon extends DisplayObject<PolygonStyleProps, ParsedPolygonStyleProps> {

@@ -11,2 +11,3 @@ import type { DisplayObjectConfig } from '../dom';

isBillboard?: boolean;
isSizeAttenuation?: boolean;
/**

@@ -24,2 +25,3 @@ * top-left, top-right, bottom-right, bottom-left

isBillboard?: boolean;
isSizeAttenuation?: boolean;
radius?: [number, number, number, number];

@@ -26,0 +28,0 @@ }

@@ -34,2 +34,3 @@ import { Camera } from './camera';

enableStyleSyntax: boolean;
enableSizeAttenuation: boolean;
}

@@ -233,2 +233,6 @@ import type { vec2, vec3 } from 'gl-matrix';

enableAutoRendering: boolean;
/**
* Canvas / SVG / Canvaskit should listen to camera changed events, while WebGL / WebGPU will apply this effect in shader.
*/
enableSizeAttenuation: boolean;
}

@@ -235,0 +239,0 @@ /**

{
"name": "@antv/g-lite",
"version": "1.2.21",
"version": "1.2.22",
"description": "A core module for rendering engine implements DOM API.",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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