victory-native
Version:
A charting library for React Native with a focus on performance and customization.
10 lines (9 loc) • 469 B
TypeScript
import type { NonUniformRRect } from "@shopify/react-native-skia";
import type { CartesianChartOrientation } from "../types";
export type RoundedCorners = {
topLeft?: number;
topRight?: number;
bottomRight?: number;
bottomLeft?: number;
};
export declare const createRoundedRectPath: (x: number, y: number, barWidth: number, barHeight: number, roundedCorners: RoundedCorners, yValue: number, orientation?: CartesianChartOrientation) => NonUniformRRect;