react-native-gesture-handler
Version:
Experimental implementation of a new declarative API for gesture handling in react-native
11 lines (10 loc) • 474 B
TypeScript
import { PointerType } from '../PointerType';
import { Point } from './interfaces';
export declare function isPointerInBounds(view: HTMLElement, { x, y }: Point): boolean;
export declare const PointerTypeMapping: Map<string, PointerType>;
export declare const degToRad: (degrees: number) => number;
export declare const coneToDeviation: (degrees: number) => number;
export declare function calculateViewScale(view: HTMLElement): {
scaleX: number;
scaleY: number;
};