1234567891011121314151617181920212223242526272829303132333435363738394041 |
- import { CreateTransformer } from '../type';
- /**
- * Applies cartesian fisheye transforms for the first dimension of vector2.
- * @param params [focus, distortion]
- * @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 fisheyeX: CreateTransformer;
- /**
- * Applies cartesian fisheye transforms for the second dimension of vector2.
- * @param params [focus, distortion]
- * @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 fisheyeY: CreateTransformer;
- /**
- * Applies cartesian fisheye transforms for both dimensions of vector2.
- * @param params [focusX, focusY, distortionX, distortionY]
- * @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 fisheye: CreateTransformer;
- /**
- * Applies circular fisheye transforms.
- * @param params [focusX, focusY, radius, distortion, isVisual?]
- * @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 fisheyeCircular: CreateTransformer;
|