UNPKG

846 BTypeScriptView Raw
1import { CreateTransformer } from '../type';
2/**
3 * Applies shear transformation for the first dimension of vector2.
4 * @param params [tx, ty]
5 * @param x x of the the bounding box of coordinate
6 * @param y y of the the bounding box of coordinate
7 * @param width width of the the bounding box of coordinate
8 * @param height height of the the bounding box of coordinate
9 * @returns transformer
10 */
11export declare const shearX: CreateTransformer;
12/**
13 * Applies shear transformation for the second dimension of vector2.
14 * @param params [tx, ty]
15 * @param x x of the the bounding box of coordinate
16 * @param y y of the the bounding box of coordinate
17 * @param width width of the the bounding box of coordinate
18 * @param height height of the the bounding box of coordinate
19 * @returns transformer
20 */
21export declare const shearY: CreateTransformer;