mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-11 19:40:08 +02:00
refactor: auto ordered imports (#9163)
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user