@antv/coord
Version:
Toolkit for mapping elements of sets into geometric objects.
22 lines (21 loc) • 846 B
TypeScript
import { CreateTransformer } from '../type';
/**
* Applies shear transformation for the first dimension of vector2.
* @param params [tx, ty]
* @param x x of the the bounding box of coordinate
* @param y y of the the bounding box of coordinate
* @param width width of the the bounding box of coordinate
* @param height height of the the bounding box of coordinate
* @returns transformer
*/
export declare const shearX: CreateTransformer;
/**
* Applies shear transformation for the second dimension of vector2.
* @param params [tx, ty]
* @param x x of the the bounding box of coordinate
* @param y y of the the bounding box of coordinate
* @param width width of the the bounding box of coordinate
* @param height height of the the bounding box of coordinate
* @returns transformer
*/
export declare const shearY: CreateTransformer;