@phaserjs/phaser
Version:
90 lines (89 loc) • 3.61 kB
JavaScript
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
import { CeilRectangle } from "./CeilRectangle";
import { CeilRectanglePosition } from "./CeilRectanglePosition";
import { CenterRectangleOn } from "./CenterRectangleOn";
import { CloneRectangle } from "./CloneRectangle";
import { CopyRectangleFrom } from "./CopyRectangleFrom";
import { DecomposeRectangle } from "./DecomposeRectangle";
import { FitRectangleInside } from "./FitRectangleInside";
import { FitRectangleOutside } from "./FitRectangleOutside";
import { FitRectangleToPoint } from "./FitRectangleToPoint";
import { FitRectangleToPoints } from "./FitRectangleToPoints";
import { FloorRectangle } from "./FloorRectangle";
import { FloorRectanglePosition } from "./FloorRectanglePosition";
import { GetRectangleArea } from "./GetRectangleArea";
import { GetRectangleAspectRatio } from "./GetRectangleAspectRatio";
import { GetRectangleCenter } from "./GetRectangleCenter";
import { GetRectangleCenterX } from "./GetRectangleCenterX";
import { GetRectangleCenterY } from "./GetRectangleCenterY";
import { GetRectangleEdges } from "./GetRectangleEdges";
import { GetRectangleIntersection } from "./GetRectangleIntersection";
import { GetRectangleMarchingAnts } from "./GetRectangleMarchingAnts";
import { GetRectangleOverlap } from "./GetRectangleOverlap";
import { GetRectanglePerimeter } from "./GetRectanglePerimeter";
import { GetRectanglePerimeterPoint } from "./GetRectanglePerimeterPoint";
import { GetRectanglePoint } from "./GetRectanglePoint";
import { GetRectanglePoints } from "./GetRectanglePoints";
import { GetRectangleRandomPoint } from "./GetRectangleRandomPoint";
import { GetRectangleRandomPointOutside } from "./GetRectangleRandomPointOutside";
import { GetRectangleSize } from "./GetRectangleSize";
import { GetRectangleUnion } from "./GetRectangleUnion";
import { InflateRectangle } from "./InflateRectangle";
import { MergeRectangle } from "./MergeRectangle";
import { Rectangle } from "./Rectangle";
import { RectangleContains } from "./RectangleContains";
import { RectangleContainsPoint } from "./RectangleContainsPoint";
import { RectangleContainsRectangle } from "./RectangleContainsRectangle";
import { RectangleEquals } from "./RectangleEquals";
import { RectangleFromPoints } from "./RectangleFromPoints";
import { RectangleSizeEquals } from "./RectangleSizeEquals";
import { ScaleRectangle } from "./ScaleRectangle";
import { TranslateRectangle } from "./TranslateRectangle";
import { TranslateRectanglePoint } from "./TranslateRectanglePoint";
export {
CeilRectangle,
CeilRectanglePosition,
CenterRectangleOn,
CloneRectangle,
CopyRectangleFrom,
DecomposeRectangle,
FitRectangleInside,
FitRectangleOutside,
FitRectangleToPoint,
FitRectangleToPoints,
FloorRectangle,
FloorRectanglePosition,
GetRectangleArea,
GetRectangleAspectRatio,
GetRectangleCenter,
GetRectangleCenterX,
GetRectangleCenterY,
GetRectangleEdges,
GetRectangleIntersection,
GetRectangleMarchingAnts,
GetRectangleOverlap,
GetRectanglePerimeter,
GetRectanglePerimeterPoint,
GetRectanglePoint,
GetRectanglePoints,
GetRectangleRandomPoint,
GetRectangleRandomPointOutside,
GetRectangleSize,
GetRectangleUnion,
InflateRectangle,
MergeRectangle,
Rectangle,
RectangleContains,
RectangleContainsPoint,
RectangleContainsRectangle,
RectangleEquals,
RectangleFromPoints,
RectangleSizeEquals,
ScaleRectangle,
TranslateRectangle,
TranslateRectanglePoint
};