shear.d.ts 846 B

123456789101112131415161718192021
  1. import { 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. */
  11. export 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. */
  21. export declare const shearY: CreateTransformer;