Socket
Socket
Sign inDemoInstall

@antv/g-lite

Package Overview
Dependencies
Maintainers
64
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.17 to 1.2.18

20

dist/display-objects/Circle.d.ts

@@ -5,7 +5,26 @@ import type { DisplayObjectConfig } from '../dom/interfaces';

export interface CircleStyleProps extends BaseStyleProps {
/**
* X coordinate of the center of the circle.
*/
cx?: number | string | null;
/**
* Y coordinate of the center of the circle.
*/
cy?: number | string | null;
/**
* Z coordinate of the center of the circle.
*/
cz?: number | string | null;
/**
* Radius of the circle.
*/
r: number | string | null;
/**
* Whether the circle is billboard.
*/
isBillboard?: boolean;
/**
* Whether the circle is size attenuation.
*/
isSizeAttenuation?: boolean;
}

@@ -18,2 +37,3 @@ export interface ParsedCircleStyleProps extends ParsedBaseStyleProps {

isBillboard?: boolean;
isSizeAttenuation?: boolean;
}

@@ -20,0 +40,0 @@ export declare class Circle extends DisplayObject<CircleStyleProps, ParsedCircleStyleProps> {

16

dist/display-objects/Image.d.ts

@@ -12,5 +12,18 @@ import type { DisplayObjectConfig } from '../dom';

height?: number | string;
/**
* Whether the circle is billboard.
*/
isBillboard?: boolean;
/**
* When isBillboard enabled, whether the circle is size attenuation.
*/
isSizeAttenuation?: boolean;
/**
* When isBillboard enabled, the rotation.
*/
billboardRotation?: number;
isSizeAttenuation?: boolean;
/**
* Whether to keep the aspect ratio of the image, under such circumstances, either the width or height can be omitted.
*/
keepAspectRatio?: boolean;
}

@@ -28,2 +41,3 @@ export interface ParsedImageStyleProps extends ParsedBaseStyleProps {

isSizeAttenuation?: boolean;
keepAspectRatio?: boolean;
}

@@ -30,0 +44,0 @@ export declare class Image extends DisplayObject<ImageStyleProps, ParsedImageStyleProps> {

@@ -6,10 +6,35 @@ import type { DisplayObjectConfig } from '../dom';

export interface LineStyleProps extends BaseStyleProps {
/**
* X coordinate of the start of the line.
*/
x1: number;
/**
* Y coordinate of the start of the line.
*/
y1: number;
/**
* X coordinate of the end of the line.
*/
x2: number;
/**
* Y coordinate of the end of the line.
*/
y2: number;
/**
* Z coordinate of the start of the line.
*/
z1?: number;
/**
* Z coordinate of the end of the line.
*/
z2?: number;
/**
* Whether the line is billboard.
*/
isBillboard?: boolean;
/**
* Whether the line is size attenuation.
*/
isSizeAttenuation?: boolean;
/**
* marker will be positioned at x1/y1

@@ -41,2 +66,3 @@ */

isBillboard?: boolean;
isSizeAttenuation?: boolean;
markerStart?: DisplayObject | null;

@@ -43,0 +69,0 @@ markerEnd?: DisplayObject | null;

@@ -27,3 +27,10 @@ import type { AbsoluteArray, AbsoluteSegment, CurveArray, PathArray } from '@antv/util';

markerEndOffset?: number;
/**
* Whether the circle is billboard.
*/
isBillboard?: boolean;
/**
* Whether the circle is size attenuation.
*/
isSizeAttenuation?: boolean;
}

@@ -92,2 +99,3 @@ export interface PathSegmentBBox {

isBillboard?: boolean;
isSizeAttenuation?: boolean;
}

@@ -94,0 +102,0 @@ export declare class Path extends DisplayObject<PathStyleProps, ParsedPathStyleProps> {

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

markerEndOffset?: number;
/**
* Whether the circle is billboard.
*/
isBillboard?: boolean;
/**
* Whether the circle is size attenuation.
*/
isSizeAttenuation?: boolean;
}

@@ -28,0 +35,0 @@ export interface ParsedPolylineStyleProps extends ParsedBaseStyleProps {

2

package.json
{
"name": "@antv/g-lite",
"version": "1.2.17",
"version": "1.2.18",
"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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc