@antv/g-lite
Advanced tools
Comparing version 1.2.21 to 1.2.22
@@ -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
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
3400862
37387