refactor: auto ordered imports (#9163)

This commit is contained in:
Marcel Mraz
2025-03-12 15:23:31 +01:00
committed by GitHub
parent 82b9a6b464
commit 21ffaf4d76
421 changed files with 3532 additions and 2763 deletions

View File

@@ -1,10 +1,3 @@
import type { Polycurve, Polyline } from "./geometry/shape";
import {
pointInEllipse,
pointOnEllipse,
type GeometricShape,
} from "./geometry/shape";
import type { Curve } from "@excalidraw/math";
import {
lineSegment,
pointFrom,
@@ -17,6 +10,16 @@ import {
type Polygon,
} from "@excalidraw/math";
import type { Curve } from "@excalidraw/math";
import {
pointInEllipse,
pointOnEllipse,
type GeometricShape,
} from "./geometry/shape";
import type { Polycurve, Polyline } from "./geometry/shape";
// check if the given point is considered on the given shape's border
export const isPointOnShape = <Point extends GlobalPoint | LocalPoint>(
point: Point,