UNPKG

gd-canvas

Version:

This set of libraries was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.0 and no dependencies accept gd-tree (it has jquery and jstree) and gd-graph (it has jquery and chart.js).

19 lines (18 loc) 938 B
import { Point } from 'gd-common'; export declare class Tools { Rotate(point: Point, center: Point, angle: number): Point; Normal(point: Point, start: Point, end: Point): Point; DistanceTo(point: Point, start: Point, end: Point): number; Intersect_OLD(a: Point, b: Point, c: Point, d: Point): boolean; Intersect(a: Point, b: Point, c: Point, d: Point): boolean; onSegment(p: Point, q: Point, r: Point): boolean; orientation(p: Point, q: Point, r: Point): number; doIntersect(p1: Point, q1: Point, p2: Point, q2: Point): boolean; Intersection(p1: Point, p2: Point, p3: Point, p4: Point): Point; PointSide(point: Point, start: Point, end: Point): string; RoundRect(ctx: any, x: any, y: any, width: any, height: any, radius: any, fill: any, stroke: any): void; MeasureText(text: string, font: string, style: string): { width: number; height: number; }; }