@mathigon/euclid
Advanced tools
Comparing version 1.1.2 to 1.1.4
import { Point } from './point'; | ||
declare type MultiPolygon = Point[][]; | ||
type MultiPolygon = Point[][]; | ||
export declare const union: (p1: MultiPolygon, p2: MultiPolygon) => Point[][]; | ||
@@ -4,0 +4,0 @@ export declare const intersect: (p1: MultiPolygon, p2: MultiPolygon) => Point[][]; |
@@ -12,5 +12,5 @@ import { Rectangle } from './rectangle'; | ||
} | ||
declare type CanvasLineCap = 'butt' | 'round' | 'square'; | ||
declare type CanvasLineJoin = 'bevel' | 'miter' | 'round'; | ||
type CanvasLineCap = 'butt' | 'round' | 'square'; | ||
type CanvasLineJoin = 'bevel' | 'miter' | 'round'; | ||
export declare function drawCanvas(ctx: CanvasRenderingContext2D, obj: GeoElement, options?: CanvasDrawingOptions): void; | ||
export {}; |
import { Rectangle } from './rectangle'; | ||
import { GeoElement } from './utilities'; | ||
export declare type LineMark = 'bar' | 'bar2' | 'arrow' | 'arrow2'; | ||
export declare type LineArrow = 'start' | 'end' | 'both'; | ||
export type LineMark = 'bar' | 'bar2' | 'arrow' | 'arrow2'; | ||
export type LineArrow = 'start' | 'end' | 'both'; | ||
export interface SVGDrawingOptions { | ||
@@ -6,0 +6,0 @@ round?: boolean; |
import { Line } from './line'; | ||
import { Point } from './point'; | ||
export declare type TransformMatrix = [[number, number, number], [number, number, number]]; | ||
export declare type SimplePoint = { | ||
export type TransformMatrix = [[number, number, number], [number, number, number]]; | ||
export type SimplePoint = { | ||
x: number; | ||
@@ -6,0 +6,0 @@ y: number; |
{ | ||
"name": "@mathigon/euclid", | ||
"version": "1.1.2", | ||
"version": "1.1.4", | ||
"license": "MIT", | ||
@@ -35,17 +35,17 @@ "homepage": "https://mathigon.io/euclid", | ||
"dependencies": { | ||
"@mathigon/core": "1.1.2", | ||
"@mathigon/fermat": "1.1.2" | ||
"@mathigon/core": "1.1.4", | ||
"@mathigon/fermat": "1.1.4" | ||
}, | ||
"devDependencies": { | ||
"@types/tape": "4.13.2", | ||
"@typescript-eslint/eslint-plugin": "5.36.1", | ||
"@typescript-eslint/parser": "5.36.1", | ||
"esbuild": "0.15.6", | ||
"eslint": "8.22.0", | ||
"@typescript-eslint/eslint-plugin": "5.45.0", | ||
"@typescript-eslint/parser": "5.45.0", | ||
"esbuild": "0.15.16", | ||
"eslint": "8.28.0", | ||
"eslint-plugin-import": "2.26.0", | ||
"tape": "5.6.0", | ||
"tape": "5.6.1", | ||
"ts-node": "10.9.1", | ||
"tslib": "2.4.0", | ||
"typescript": "4.8.2" | ||
"tslib": "2.4.1", | ||
"typescript": "4.9.3" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
522676
+ Added@mathigon/core@1.1.4(transitive)
+ Added@mathigon/fermat@1.1.4(transitive)
- Removed@mathigon/core@1.1.2(transitive)
- Removed@mathigon/fermat@1.1.2(transitive)
Updated@mathigon/core@1.1.4
Updated@mathigon/fermat@1.1.4