scichart
Version:
Fast WebGL JavaScript Charting Library and Framework
12 lines (11 loc) • 601 B
TypeScript
import { SCRTRectVertex, TSciChart } from "../../../types/TSciChart";
/**
* Helper function to create a {@link SCRTRectVertex} native rectangle vertex
* @param webAssemblyContext The {@link TSciChart | SciChart 2D WebAssembly Context} containing native methods and
* access to our WebGL2 Engine and WebAssembly numerical methods
* @param xTopLeft
* @param yTopLeft
* @param xBottomRight
* @param yBottomRight
*/
export declare const createNativeRect: (webAssemblyContext: TSciChart, xTopLeft: number, yTopLeft: number, xBottomRight: number, yBottomRight: number) => SCRTRectVertex;