@antv/g-lite
Advanced tools
Comparing version 1.2.17 to 1.2.18
@@ -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> { |
@@ -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 { |
{ | ||
"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
5261873
37035