@antv/g-gesture
Advanced tools
Comparing version 0.0.7 to 0.0.8
import type { RendererPlugin, Syringe } from '@antv/g'; | ||
import * as DeviceRenderer from '@antv/g-plugin-device-renderer'; | ||
import type * as DeviceRenderer from '@antv/g-plugin-device-renderer'; | ||
export declare class ContextRegisterPlugin implements RendererPlugin { | ||
@@ -4,0 +4,0 @@ private rendererPlugin; |
import type { CurveArray } from '@antv/util'; | ||
import type { DisplayObject, ParsedPathStyleProps } from '../../display-objects'; | ||
import type { IElement } from '../../dom'; | ||
export declare const parsePath: ((path: string, object: DisplayObject) => ParsedPathStyleProps['path']) & import("lodash").MemoizedFunction; | ||
export declare function parsePath(path: string, object: DisplayObject): ParsedPathStyleProps['path']; | ||
export declare function mergePaths(left: ParsedPathStyleProps['path'], right: ParsedPathStyleProps['path'], object: IElement): [CurveArray, CurveArray, (b: CurveArray) => CurveArray]; | ||
//# sourceMappingURL=path.d.ts.map |
@@ -5,3 +5,3 @@ import type { AbsoluteArray, CurveArray } from '@antv/util'; | ||
import { CSSProperty } from '../CSSProperty'; | ||
import { mergePaths } from '../parser/path'; | ||
import { mergePaths, parsePath } from '../parser/path'; | ||
export declare class CSSPropertyPath implements Partial<CSSProperty<ParsedPathStyleProps['path'], ParsedPathStyleProps['path']>> { | ||
@@ -11,13 +11,3 @@ /** | ||
*/ | ||
parser: ((path: string, object: DisplayObject<any, any>) => { | ||
absolutePath: AbsoluteArray; | ||
hasArc: boolean; | ||
segments: import("../../display-objects").PathSegment[]; | ||
polygons: [number, number][][]; | ||
polylines: [number, number][][]; | ||
curve: CurveArray; | ||
totalLength: number; | ||
zCommandIndexes: number[]; | ||
rect: Rectangle; | ||
}) & import("lodash").MemoizedFunction; | ||
parser: typeof parsePath; | ||
calculator(name: string, oldParsed: ParsedPathStyleProps['path'], parsed: ParsedPathStyleProps['path']): { | ||
@@ -24,0 +14,0 @@ absolutePath: AbsoluteArray; |
{ | ||
"name": "@antv/g-gesture", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "G Gesture", | ||
@@ -34,4 +34,4 @@ "keywords": [ | ||
"devDependencies": { | ||
"@antv/g-mobile-canvas": "^0.3.0", | ||
"@antv/g-mobile-canvas-element": "^0.2.0" | ||
"@antv/g-mobile-canvas": "^0.3.1", | ||
"@antv/g-mobile-canvas-element": "^0.2.1" | ||
}, | ||
@@ -41,3 +41,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "d0d7ed366353cc551e34cd8163a379cd1a8789b6" | ||
"gitHead": "f001a43754b62b6bff7eb2d1573d1a08349ce5c2" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
974197
13812