victory-native
Version:
A charting library for React Native with a focus on performance and customization.
17 lines (16 loc) • 379 B
TypeScript
import type { Matrix4 } from "@shopify/react-native-skia";
type TouchPoint = {
x?: number;
y?: number;
absoluteX?: number;
absoluteY?: number;
};
type ChartTouchPoint = {
x: number;
y: number;
};
export declare const getCartesianTouchCoordinates: ({ touch, transform, }: {
touch: TouchPoint;
transform?: Matrix4;
}) => ChartTouchPoint;
export {};