You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
664 B

4 months ago
import type { TransformArray } from '@antv/g';
/**
* <zh/> transform translate
*
* <en/> replace the translate part from the transform string
* @param x - <zh/> x | <en/> x
* @param y - <zh/> y | <en/> y
* @param z - <zh/> z | <en/> z
* @param transform - <zh/> transform | <en/> transform string
* @returns <zh/> transform null | <en/> the replaced transform string, return null means no need to replace
*/
export declare function replaceTranslateInTransform(x: number, y: number, z?: number, transform?: string | TransformArray): string | TransformArray | null;