@zyzgroup/core-web 0.1.85 → 0.1.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{animate_ce.css → css/animate_ce.css} +0 -18
- package/dist/css/better.css +349 -0
- package/dist/{font.css → css/font.css} +42 -35
- package/dist/css/media.css +65 -0
- package/dist/css/theme.css +224 -0
- package/dist/fonts/D-DINExp/D-DINExp-Bold-number.ttf +0 -0
- package/dist/fonts/D-DINExp/D-DINExp-Bold.ttf +0 -0
- package/dist/fonts/D-DINExp/D-DINExp-number-with-money.ttf +0 -0
- package/dist/fonts/D-DINExp/D-DINExp-number.ttf +0 -0
- package/dist/fonts/HYYouYuan/HYYouYuan-55W.ttf +0 -0
- package/dist/fonts/HYYouYuan/HYYouYuan-75W.ttf +0 -0
- package/dist/fonts/IosevkaCurly/iosevka-curly-bold.woff2 +0 -0
- package/dist/fonts/IosevkaCurly/iosevka-curly-medium.woff2 +0 -0
- package/dist/zyzgroup_core_web.iife.js +30 -27
- package/dist/zyzgroup_core_web.iife.js.map +1 -1
- package/dist/zyzgroup_core_web.js +14481 -13334
- package/dist/zyzgroup_core_web.js.map +1 -1
- package/dist/zyzgroup_core_web.umd.cjs +30 -27
- package/dist/zyzgroup_core_web.umd.cjs.map +1 -1
- package/package.json +7 -6
- package/types/Context.d.ts +6 -5
- package/types/Context.d.ts.map +1 -1
- package/types/DeviceFingerprint.d.ts +4 -0
- package/types/DeviceFingerprint.d.ts.map +1 -0
- package/types/Pagination.d.ts.map +1 -1
- package/types/WebMonitor.d.ts +15 -0
- package/types/WebMonitor.d.ts.map +1 -0
- package/types/WebSocketClient.d.ts.map +1 -1
- package/types/ajax.d.ts.map +1 -1
- package/types/animate/schedule.d.ts +3 -0
- package/types/animate/schedule.d.ts.map +1 -1
- package/types/animate/tween/Easing.d.ts +42 -39
- package/types/animate/tween/Easing.d.ts.map +1 -1
- package/types/animate/tween/index.d.ts +41 -38
- package/types/animate/tween/index.d.ts.map +1 -1
- package/types/color.d.ts +1 -0
- package/types/color.d.ts.map +1 -1
- package/types/env.d.ts +4 -16
- package/types/env.d.ts.map +1 -1
- package/types/file.d.ts +12 -4
- package/types/file.d.ts.map +1 -1
- package/types/hooks/index.d.ts +0 -1
- package/types/hooks/index.d.ts.map +1 -1
- package/types/hooks/useAttribute.d.ts +1 -2
- package/types/hooks/useAttribute.d.ts.map +1 -1
- package/types/hooks/useCookie.d.ts +3 -3
- package/types/hooks/useCookie.d.ts.map +1 -1
- package/types/hooks/useDraw/DrawContext.d.ts +3 -1
- package/types/hooks/useDraw/DrawContext.d.ts.map +1 -1
- package/types/hooks/useDraw/Shape.d.ts +134 -105
- package/types/hooks/useDraw/Shape.d.ts.map +1 -1
- package/types/hooks/useDraw/canvas/YZCanvasContext.d.ts +3 -1
- package/types/hooks/useDraw/canvas/YZCanvasContext.d.ts.map +1 -1
- package/types/hooks/useDraw/line/Arc.d.ts.map +1 -1
- package/types/hooks/useDraw/line/CubicBezier.d.ts +6 -6
- package/types/hooks/useDraw/line/CubicBezier.d.ts.map +1 -1
- package/types/hooks/useDraw/line/L.d.ts +1 -1
- package/types/hooks/useDraw/line/L.d.ts.map +1 -1
- package/types/hooks/useDraw/line/PathD.d.ts +23 -15
- package/types/hooks/useDraw/line/PathD.d.ts.map +1 -1
- package/types/hooks/useDraw/line/QuadraticBezier.d.ts +1 -1
- package/types/hooks/useDraw/line/QuadraticBezier.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/BallShape.d.ts +3 -11
- package/types/hooks/useDraw/shapes/BallShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/ConfettiShapeCombo.d.ts +27 -0
- package/types/hooks/useDraw/shapes/ConfettiShapeCombo.d.ts.map +1 -0
- package/types/hooks/useDraw/shapes/CrossShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/CurveShape.d.ts +24 -0
- package/types/hooks/useDraw/shapes/CurveShape.d.ts.map +1 -0
- package/types/hooks/useDraw/shapes/EllipseShape.d.ts +1 -0
- package/types/hooks/useDraw/shapes/EllipseShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/LineShape.d.ts +11 -9
- package/types/hooks/useDraw/shapes/LineShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/PointsShape.d.ts +35 -0
- package/types/hooks/useDraw/shapes/PointsShape.d.ts.map +1 -0
- package/types/hooks/useDraw/shapes/RectShape.d.ts +15 -12
- package/types/hooks/useDraw/shapes/RectShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/RingIndicatorShapeCombo.d.ts +2 -2
- package/types/hooks/useDraw/shapes/RingIndicatorShapeCombo.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/SegmentShapeCombo.d.ts +2 -2
- package/types/hooks/useDraw/shapes/SegmentShapeCombo.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/ShipShapeCombo.d.ts +6 -4
- package/types/hooks/useDraw/shapes/ShipShapeCombo.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/SliderShapeCombo.d.ts +3 -2
- package/types/hooks/useDraw/shapes/SliderShapeCombo.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/TextShape.d.ts +23 -0
- package/types/hooks/useDraw/shapes/TextShape.d.ts.map +1 -0
- package/types/hooks/useDraw/shapes/TreeShapeCombo.d.ts +3 -2
- package/types/hooks/useDraw/shapes/TreeShapeCombo.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/index.d.ts +4 -0
- package/types/hooks/useDraw/shapes/index.d.ts.map +1 -1
- package/types/hooks/useDraw/svg/SVGUtil.d.ts +3 -2
- package/types/hooks/useDraw/svg/SVGUtil.d.ts.map +1 -1
- package/types/hooks/useElement.d.ts +21 -6
- package/types/hooks/useElement.d.ts.map +1 -1
- package/types/hooks/useElementEventBus.d.ts.map +1 -1
- package/types/hooks/useElementEvents.d.ts +87 -23
- package/types/hooks/useElementEvents.d.ts.map +1 -1
- package/types/hooks/useEventListener.d.ts +22 -7
- package/types/hooks/useEventListener.d.ts.map +1 -1
- package/types/hooks/useFeRouteChange.d.ts +23 -1
- package/types/hooks/useFeRouteChange.d.ts.map +1 -1
- package/types/hooks/useFetch.d.ts.map +1 -1
- package/types/hooks/useLocalStorage.d.ts +3 -6
- package/types/hooks/useLocalStorage.d.ts.map +1 -1
- package/types/hooks/useMutation.d.ts +1 -0
- package/types/hooks/useMutation.d.ts.map +1 -1
- package/types/hooks/useSafeArea.d.ts.map +1 -1
- package/types/hooks/useSessionStorage.d.ts +3 -6
- package/types/hooks/useSessionStorage.d.ts.map +1 -1
- package/types/hooks/useStyle.d.ts +20 -2
- package/types/hooks/useStyle.d.ts.map +1 -1
- package/types/hooks/useTheme.d.ts +2 -1
- package/types/hooks/useTheme.d.ts.map +1 -1
- package/types/hooks/useVnode.d.ts +5 -5
- package/types/hooks/useVnode.d.ts.map +1 -1
- package/types/index.d.ts +1 -4
- package/types/index.d.ts.map +1 -1
- package/types/math/Matrix.d.ts +3 -3
- package/types/math/Matrix.d.ts.map +1 -1
- package/types/math/ShapeGroup.d.ts +0 -34
- package/types/math/ShapeGroup.d.ts.map +1 -1
- package/types/math/shapes/Sector.d.ts +0 -65
- package/types/math/shapes/Sector.d.ts.map +1 -1
- package/types/math/shapes/Tip.d.ts +0 -21
- package/types/math/shapes/Tip.d.ts.map +1 -1
- package/types/rem.d.ts +1 -1
- package/types/rem.d.ts.map +1 -1
- package/types/signature.d.ts +29 -2
- package/types/signature.d.ts.map +1 -1
- package/types/threejs.d.ts +2 -0
- package/types/threejs.d.ts.map +1 -0
- package/types/vnode.d.ts.map +1 -1
- package/dist/better.css +0 -425
- package/dist/theme.css +0 -28
- package/types/YZMessageChannel.d.ts +0 -21
- package/types/YZMessageChannel.d.ts.map +0 -1
- package/types/YZWorker.d.ts +0 -16
- package/types/YZWorker.d.ts.map +0 -1
- package/types/axios.d.ts +0 -33
- package/types/axios.d.ts.map +0 -1
- package/types/canvas/YZCanvas.d.ts +0 -1
- package/types/canvas/YZCanvas.d.ts.map +0 -1
- package/types/hooks/useTimestampValue.d.ts +0 -11
- package/types/hooks/useTimestampValue.d.ts.map +0 -1
- package/types/math/ShapeCombo.d.ts +0 -38
- package/types/math/ShapeCombo.d.ts.map +0 -1
- package/types/math/math/cameras/Camera.d.ts +0 -1
- package/types/math/math/cameras/Camera.d.ts.map +0 -1
- package/types/math/math/controls/Controls.d.ts +0 -1
- package/types/math/math/controls/Controls.d.ts.map +0 -1
- package/types/math/math/controls/OrbitControls.d.ts +0 -1
- package/types/math/math/controls/OrbitControls.d.ts.map +0 -1
- package/types/math/math/core/BufferGeometry.d.ts +0 -1
- package/types/math/math/core/BufferGeometry.d.ts.map +0 -1
- package/types/math/math/core/GLBufferAttribute.d.ts +0 -1
- package/types/math/math/core/GLBufferAttribute.d.ts.map +0 -1
- package/types/math/math/interpolants/Interpolant.d.ts +0 -14
- package/types/math/math/interpolants/Interpolant.d.ts.map +0 -1
- package/types/math/shapes/Arrow.d.ts +0 -10
- package/types/math/shapes/Arrow.d.ts.map +0 -1
- package/types/math/shapes/Confetti.d.ts +0 -27
- package/types/math/shapes/Confetti.d.ts.map +0 -1
- package/types/math/shapes/Cross.d.ts +0 -6
- package/types/math/shapes/Cross.d.ts.map +0 -1
- package/types/math/shapes/Ellipse.d.ts +0 -22
- package/types/math/shapes/Ellipse.d.ts.map +0 -1
- package/types/math/shapes/Fox.d.ts +0 -10
- package/types/math/shapes/Fox.d.ts.map +0 -1
- package/types/math/shapes/HalfRing.d.ts +0 -27
- package/types/math/shapes/HalfRing.d.ts.map +0 -1
- package/types/math/shapes/HalfRingIndicator.d.ts +0 -34
- package/types/math/shapes/HalfRingIndicator.d.ts.map +0 -1
- package/types/math/shapes/Heart.d.ts +0 -13
- package/types/math/shapes/Heart.d.ts.map +0 -1
- package/types/math/shapes/HeartVariant.d.ts +0 -13
- package/types/math/shapes/HeartVariant.d.ts.map +0 -1
- package/types/math/shapes/Line.d.ts +0 -19
- package/types/math/shapes/Line.d.ts.map +0 -1
- package/types/math/shapes/LinePicture.d.ts +0 -15
- package/types/math/shapes/LinePicture.d.ts.map +0 -1
- package/types/math/shapes/LineQuadraticBezier.d.ts +0 -21
- package/types/math/shapes/LineQuadraticBezier.d.ts.map +0 -1
- package/types/math/shapes/Point.d.ts +0 -85
- package/types/math/shapes/Point.d.ts.map +0 -1
- package/types/math/shapes/Points.d.ts +0 -28
- package/types/math/shapes/Points.d.ts.map +0 -1
- package/types/math/shapes/Rabbit.d.ts +0 -8
- package/types/math/shapes/Rabbit.d.ts.map +0 -1
- package/types/math/shapes/Rect.d.ts +0 -33
- package/types/math/shapes/Rect.d.ts.map +0 -1
- package/types/math/shapes/Ring.d.ts +0 -24
- package/types/math/shapes/Ring.d.ts.map +0 -1
- package/types/math/shapes/RingIndicator.d.ts +0 -28
- package/types/math/shapes/RingIndicator.d.ts.map +0 -1
- package/types/math/shapes/Segment.d.ts +0 -22
- package/types/math/shapes/Segment.d.ts.map +0 -1
- package/types/math/shapes/Ship.d.ts +0 -13
- package/types/math/shapes/Ship.d.ts.map +0 -1
- package/types/math/shapes/Slider.d.ts +0 -23
- package/types/math/shapes/Slider.d.ts.map +0 -1
- package/types/math/shapes/Star.d.ts +0 -11
- package/types/math/shapes/Star.d.ts.map +0 -1
- package/types/math/shapes/Text.d.ts +0 -21
- package/types/math/shapes/Text.d.ts.map +0 -1
- package/types/math/shapes/Tree.d.ts +0 -7
- package/types/math/shapes/Tree.d.ts.map +0 -1
- package/types/math/shapes/index.d.ts +0 -29
- package/types/math/shapes/index.d.ts.map +0 -1
- package/types/svg/YZSVG.d.ts +0 -1
- package/types/svg/YZSVG.d.ts.map +0 -1
- package/types/url.d.ts +0 -21
- package/types/url.d.ts.map +0 -1
- /package/dist/{animate.css → css/animate.css} +0 -0
- /package/dist/{animate.min.css → css/animate.min.css} +0 -0
- /package/dist/{effects.css → css/effects.css} +0 -0
- /package/dist/{flex.css → css/flex.css} +0 -0
- /package/dist/{grid.css → css/grid.css} +0 -0
- /package/dist/{rem_1080.css → css/rem_1080.css} +0 -0
- /package/dist/{rem_1920.css → css/rem_1920.css} +0 -0
- /package/dist/{rem_640.css → css/rem_640.css} +0 -0
- /package/dist/{rem_720.css → css/rem_720.css} +0 -0
- /package/dist/{rem_750.css → css/rem_750.css} +0 -0
- /package/dist/{tailwind.css → css/tailwind.css} +0 -0
- /package/dist/{D-DINCondensed-number.ttf → fonts/D-DINExp/D-DINCondensed-number.ttf} +0 -0
- /package/dist/{D-DINExp.ttf → fonts/D-DINExp/D-DINExp.ttf} +0 -0
package/types/axios.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { type AxiosRequestConfig, type AxiosResponse, type AxiosError } from "axios";
|
|
2
|
-
export { type AxiosRequestConfig, type AxiosResponse, type AxiosError } from "axios";
|
|
3
|
-
export interface FetchWithAxiosRequestConfig extends AxiosRequestConfig {
|
|
4
|
-
interceptor?: {
|
|
5
|
-
request?: (config: AxiosRequestConfig) => void;
|
|
6
|
-
requestError?: (error: AxiosError) => void;
|
|
7
|
-
response?: (response: AxiosResponse) => void;
|
|
8
|
-
responseError?: (error: AxiosError) => void;
|
|
9
|
-
};
|
|
10
|
-
retry?: number;
|
|
11
|
-
cache?: number;
|
|
12
|
-
}
|
|
13
|
-
export declare class FetchWithAxios {
|
|
14
|
-
private instance;
|
|
15
|
-
private canceler;
|
|
16
|
-
private retryCount;
|
|
17
|
-
private cacheTime;
|
|
18
|
-
private caches;
|
|
19
|
-
constructor(config?: FetchWithAxiosRequestConfig);
|
|
20
|
-
request<T = any>(config: FetchWithAxiosRequestConfig): Promise<AxiosResponse<T>>;
|
|
21
|
-
cancel(config: FetchWithAxiosRequestConfig): void;
|
|
22
|
-
get<T = any>(url: string, config?: FetchWithAxiosRequestConfig): Promise<AxiosResponse<T, any>>;
|
|
23
|
-
delete<T = any>(url: string, config?: FetchWithAxiosRequestConfig): Promise<AxiosResponse<T, any>>;
|
|
24
|
-
head<T = any>(url: string, config?: FetchWithAxiosRequestConfig): Promise<AxiosResponse<T, any>>;
|
|
25
|
-
options<T = any>(url: string, config?: FetchWithAxiosRequestConfig): Promise<AxiosResponse<T, any>>;
|
|
26
|
-
post<T = any>(url: string, data?: any, config?: FetchWithAxiosRequestConfig): Promise<AxiosResponse<T, any>>;
|
|
27
|
-
postBlob<T = any>(url: string, data: FormData, config?: FetchWithAxiosRequestConfig): Promise<AxiosResponse<T, any>>;
|
|
28
|
-
postForm<T = any>(url: string, formEl: HTMLFormElement, config?: FetchWithAxiosRequestConfig): Promise<AxiosResponse<T, any>>;
|
|
29
|
-
put<T = any>(url: string, data?: any, config?: FetchWithAxiosRequestConfig): Promise<AxiosResponse<T, any>>;
|
|
30
|
-
patch<T = any>(url: string, data?: any, config?: FetchWithAxiosRequestConfig): Promise<AxiosResponse<T, any>>;
|
|
31
|
-
getUri(config?: FetchWithAxiosRequestConfig): string;
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=axios.d.ts.map
|
package/types/axios.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"axios.d.ts","sourceRoot":"","sources":["../src/axios.ts"],"names":[],"mappings":"AAAA,OAAc,EACZ,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,UAAU,EAEhB,MAAM,OAAO,CAAC;AACf,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,UAAU,EAChB,MAAM,OAAO,CAAC;AA2Cf,MAAM,WAAW,2BAA4B,SAAQ,kBAAkB;IAErE,WAAW,CAAC,EAAE;QACZ,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;QAC/C,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;QAC3C,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,aAAa,KAAK,IAAI,CAAC;QAC7C,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;KAC7C,CAAC;IAEF,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAgB;IAChC,OAAO,CAAC,QAAQ,CAA8B;IAE9C,OAAO,CAAC,UAAU,CAAK;IACvB,OAAO,CAAC,SAAS,CAAK;IACtB,OAAO,CAAC,MAAM,CAAoB;gBAEtB,MAAM,CAAC,EAAE,2BAA2B;IA2CzC,OAAO,CAAC,CAAC,GAAG,GAAG,EACpB,MAAM,EAAE,2BAA2B,GAClC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;IAcrB,MAAM,CAAC,MAAM,EAAE,2BAA2B,GAAG,IAAI;IAIjD,GAAG,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,2BAA2B;IAI9D,MAAM,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,2BAA2B;IAIjE,IAAI,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,2BAA2B;IAI/D,OAAO,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,2BAA2B;IAIlE,IAAI,CAAC,CAAC,GAAG,GAAG,EACjB,GAAG,EAAE,MAAM,EACX,IAAI,CAAC,EAAE,GAAG,EACV,MAAM,CAAC,EAAE,2BAA2B;IAK/B,QAAQ,CAAC,CAAC,GAAG,GAAG,EACrB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,QAAQ,EACd,MAAM,CAAC,EAAE,2BAA2B;IAc/B,QAAQ,CAAC,CAAC,GAAG,GAAG,EACrB,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,eAAe,EACvB,MAAM,CAAC,EAAE,2BAA2B;IAY/B,GAAG,CAAC,CAAC,GAAG,GAAG,EAChB,GAAG,EAAE,MAAM,EACX,IAAI,CAAC,EAAE,GAAG,EACV,MAAM,CAAC,EAAE,2BAA2B;IAK/B,KAAK,CAAC,CAAC,GAAG,GAAG,EAClB,GAAG,EAAE,MAAM,EACX,IAAI,CAAC,EAAE,GAAG,EACV,MAAM,CAAC,EAAE,2BAA2B;IAK/B,MAAM,CAAC,MAAM,CAAC,EAAE,2BAA2B,GAAG,MAAM;CAG5D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=YZCanvas.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"YZCanvas.d.ts","sourceRoot":"","sources":["../../src/canvas/YZCanvas.ts"],"names":[],"mappings":""}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare function useTimestampValue(initValue: any, options?: {
|
|
2
|
-
aliveInSeconds?: number;
|
|
3
|
-
aliveUntilTimestamp?: number;
|
|
4
|
-
}): {
|
|
5
|
-
get: () => {
|
|
6
|
-
value: any;
|
|
7
|
-
rawValue: any;
|
|
8
|
-
};
|
|
9
|
-
set: (v: any) => any;
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=useTimestampValue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useTimestampValue.d.ts","sourceRoot":"","sources":["../../src/hooks/useTimestampValue.ts"],"names":[],"mappings":"AAOA,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,GAAG,EACd,OAAO,CAAC,EAAE;IACR,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;;;;;aAwCU,GAAG;EAEf"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { TweenRawOptions } from "../animate";
|
|
2
|
-
import { Shape, TShapeRunSpringOptions } from "./Shape";
|
|
3
|
-
import { Points } from "./shapes";
|
|
4
|
-
import { ShapeGroup } from "./ShapeGroup";
|
|
5
|
-
type TShapeComboRunSpringOptions = TShapeRunSpringOptions & {
|
|
6
|
-
springLength?: number;
|
|
7
|
-
};
|
|
8
|
-
export declare class ShapeCombo {
|
|
9
|
-
private shapes;
|
|
10
|
-
constructor(shapes: Shape[]);
|
|
11
|
-
run(options?: {
|
|
12
|
-
wall?: {
|
|
13
|
-
x: number;
|
|
14
|
-
y: number;
|
|
15
|
-
width: number;
|
|
16
|
-
height: number;
|
|
17
|
-
};
|
|
18
|
-
bounce?: number;
|
|
19
|
-
}): void;
|
|
20
|
-
gravitate(): void;
|
|
21
|
-
springChain(options?: TShapeRunSpringOptions): void;
|
|
22
|
-
springConnect(options?: TShapeComboRunSpringOptions): void;
|
|
23
|
-
springMass(wall: {
|
|
24
|
-
x: number;
|
|
25
|
-
y: number;
|
|
26
|
-
width: number;
|
|
27
|
-
height: number;
|
|
28
|
-
}, options?: TShapeComboRunSpringOptions): number[][];
|
|
29
|
-
polymorph(): (offset: number) => Shape;
|
|
30
|
-
polymorphGroup(): (offset: number) => ShapeGroup;
|
|
31
|
-
polymorphTween(frameDuration?: number, options?: TweenRawOptions & {
|
|
32
|
-
draw?: (shape: Shape) => void;
|
|
33
|
-
}): void;
|
|
34
|
-
static generatePointsShape(centerX: number, centerY: number, sideDistance: number, sideCount: number): Points;
|
|
35
|
-
static generateRosettaShape(x: number, y: number, rx: number, ry: number, n: number): Shape;
|
|
36
|
-
}
|
|
37
|
-
export default ShapeCombo;
|
|
38
|
-
//# sourceMappingURL=ShapeCombo.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ShapeCombo.d.ts","sourceRoot":"","sources":["../../src/math/ShapeCombo.ts"],"names":[],"mappings":"AACA,OAAO,EAAY,eAAe,EAAc,MAAM,YAAY,CAAC;AAEnE,OAAO,EAAE,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI1C,KAAK,2BAA2B,GAAG,sBAAsB,GAAG;IAC1D,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,qBAAa,UAAU;IACrB,OAAO,CAAC,MAAM,CAAU;gBAEZ,MAAM,EAAE,KAAK,EAAE;IAI3B,GAAG,CAAC,OAAO,CAAC,EAAE;QACZ,IAAI,CAAC,EAAE;YAAE,CAAC,EAAE,MAAM,CAAC;YAAC,CAAC,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAC;QAC/D,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB;IAgBM,SAAS;IAWT,WAAW,CAAC,OAAO,CAAC,EAAE,sBAAsB;IAQ5C,aAAa,CAAC,OAAO,CAAC,EAAE,2BAA2B;IAoBnD,UAAU,CACf,IAAI,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,EAC7D,OAAO,CAAC,EAAE,2BAA2B,GACpC,MAAM,EAAE,EAAE;IA6Bb,SAAS,IAAI,CAAC,MAAM,EAAE,MAAM,KAAK,KAAK;IA+CtC,cAAc,IAAI,CAAC,MAAM,EAAE,MAAM,KAAK,UAAU;IAkDhD,cAAc,CACZ,aAAa,SAAO,EACpB,OAAO,CAAC,EAAE,eAAe,GAAG;QAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAA;KAAE;IAuB/D,MAAM,CAAC,mBAAmB,CACxB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,EACf,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,MAAM,GAChB,MAAM;IAUT,MAAM,CAAC,oBAAoB,CACzB,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,CAAC,EAAE,MAAM,GACR,KAAK;CAyCT;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=Camera.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Camera.d.ts","sourceRoot":"","sources":["../../../../src/math/math/cameras/Camera.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=Controls.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Controls.d.ts","sourceRoot":"","sources":["../../../../src/math/math/controls/Controls.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=OrbitControls.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OrbitControls.d.ts","sourceRoot":"","sources":["../../../../src/math/math/controls/OrbitControls.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=BufferGeometry.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BufferGeometry.d.ts","sourceRoot":"","sources":["../../../../src/math/math/core/BufferGeometry.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=GLBufferAttribute.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GLBufferAttribute.d.ts","sourceRoot":"","sources":["../../../../src/math/math/core/GLBufferAttribute.ts"],"names":[],"mappings":""}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare class Interpolant {
|
|
2
|
-
private _cachedIndex;
|
|
3
|
-
parameterPositions: number[];
|
|
4
|
-
sampleValues: number[];
|
|
5
|
-
valueSize: number;
|
|
6
|
-
resultBuffer: number[];
|
|
7
|
-
constructor(parameterPositions: number[], sampleValues: number[], sampleSize: number, resultBuffer?: number[]);
|
|
8
|
-
evaluate(t: number): void | number[];
|
|
9
|
-
copySampleValue_(index: number): number[];
|
|
10
|
-
interpolate_(i1: number, t0: number, t: number, t1: number): void;
|
|
11
|
-
intervalChanged_(i1: number, t0: number, t1: number): void;
|
|
12
|
-
}
|
|
13
|
-
export default Interpolant;
|
|
14
|
-
//# sourceMappingURL=Interpolant.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Interpolant.d.ts","sourceRoot":"","sources":["../../../../src/math/math/interpolants/Interpolant.ts"],"names":[],"mappings":"AAqBA,qBAAa,WAAW;IACtB,OAAO,CAAC,YAAY,CAAK;IAEzB,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,EAAE,CAAC;gBAGrB,kBAAkB,EAAE,MAAM,EAAE,EAC5B,YAAY,EAAE,MAAM,EAAE,EACtB,UAAU,EAAE,MAAM,EAClB,YAAY,GAAE,MAAM,EAAO;IAQ7B,QAAQ,CAAC,CAAC,EAAE,MAAM;IA4HlB,gBAAgB,CAAC,KAAK,EAAE,MAAM;IAc9B,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM;IAK1D,gBAAgB,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM;CAGpD;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { YZCanvasContext } from "../../canvas";
|
|
2
|
-
import { TSVGParsedPathData } from "../../svg/DOMSVGUtil";
|
|
3
|
-
import { Shape, TShapeOptions } from "../Shape";
|
|
4
|
-
export declare class Arrow extends Shape {
|
|
5
|
-
constructor(options?: TShapeOptions);
|
|
6
|
-
toSVGPathData(): TSVGParsedPathData[];
|
|
7
|
-
toCanvasContext(ctx: YZCanvasContext): void;
|
|
8
|
-
}
|
|
9
|
-
export default Arrow;
|
|
10
|
-
//# sourceMappingURL=Arrow.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Arrow.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Arrow.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEhD,qBAAa,KAAM,SAAQ,KAAK;gBAClB,OAAO,CAAC,EAAE,aAAa;IAInC,aAAa,IAAI,kBAAkB,EAAE;IAcrC,eAAe,CAAC,GAAG,EAAE,eAAe;CAYrC;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Shape } from "../Shape";
|
|
2
|
-
import { ShapeGroup } from "../ShapeGroup";
|
|
3
|
-
export declare class Confetti extends ShapeGroup {
|
|
4
|
-
private fettis;
|
|
5
|
-
constructor(width: number, height: number, options?: Partial<{
|
|
6
|
-
shape: Shape;
|
|
7
|
-
x: number;
|
|
8
|
-
y: number;
|
|
9
|
-
particleCount: number;
|
|
10
|
-
angle: number;
|
|
11
|
-
spread: number;
|
|
12
|
-
startVelocity: number;
|
|
13
|
-
decay: number;
|
|
14
|
-
gravity: number;
|
|
15
|
-
drift: number;
|
|
16
|
-
ticks: number;
|
|
17
|
-
colors: string[];
|
|
18
|
-
scalar: number;
|
|
19
|
-
flat: boolean;
|
|
20
|
-
}>);
|
|
21
|
-
frameUpdate(mouse: {
|
|
22
|
-
x: number;
|
|
23
|
-
y: number;
|
|
24
|
-
}): void;
|
|
25
|
-
}
|
|
26
|
-
export default Confetti;
|
|
27
|
-
//# sourceMappingURL=Confetti.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Confetti.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Confetti.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,qBAAa,QAAS,SAAQ,UAAU;IACtC,OAAO,CAAC,MAAM,CAA6B;gBAGzC,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,OAAO,CAAC;QAChB,KAAK,EAAE,KAAK,CAAC;QACb,CAAC,EAAE,MAAM,CAAC;QACV,CAAC,EAAE,MAAM,CAAC;QACV,aAAa,EAAE,MAAM,CAAC;QACtB,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,aAAa,EAAE,MAAM,CAAC;QACtB,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,EAAE,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,OAAO,CAAC;KACf,CAAC;IA+EJ,WAAW,CAAC,KAAK,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE;CAmD5C;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Cross.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Cross.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEhD,qBAAa,KAAM,SAAQ,KAAK;gBAClB,OAAO,CAAC,EAAE,aAAa;CAIpC;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Shape, TShapeOptions } from "../Shape";
|
|
2
|
-
import { TSVGParsedPathData } from "../../svg/DOMSVGUtil";
|
|
3
|
-
import { YZCanvasContext } from "../../canvas";
|
|
4
|
-
export type TEllipseOptions = {
|
|
5
|
-
rx?: number;
|
|
6
|
-
ry?: number;
|
|
7
|
-
} & TShapeOptions;
|
|
8
|
-
export declare class Ellipse extends Shape {
|
|
9
|
-
rx: number;
|
|
10
|
-
ry: number;
|
|
11
|
-
constructor(options?: TEllipseOptions);
|
|
12
|
-
getBoundingClientRect(): {
|
|
13
|
-
x: number;
|
|
14
|
-
y: number;
|
|
15
|
-
width: number;
|
|
16
|
-
height: number;
|
|
17
|
-
};
|
|
18
|
-
toSVGPathData(): TSVGParsedPathData[];
|
|
19
|
-
toCanvasContext(ctx: YZCanvasContext): void;
|
|
20
|
-
}
|
|
21
|
-
export default Ellipse;
|
|
22
|
-
//# sourceMappingURL=Ellipse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Ellipse.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Ellipse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,eAAe,GAAG;IAE5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,GAAG,aAAa,CAAC;AAElB,qBAAa,OAAQ,SAAQ,KAAK;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;gBAEN,OAAO,CAAC,EAAE,eAAe;IAMrC,qBAAqB;;;;;;IASrB,aAAa,IAAI,kBAAkB,EAAE;IASrC,eAAe,CAAC,GAAG,EAAE,eAAe;CASrC;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { YZCanvasContext } from "../../canvas";
|
|
2
|
-
import { TSVGParsedPathData } from "../../svg/DOMSVGUtil";
|
|
3
|
-
import { Shape, TShapeOptions } from "../Shape";
|
|
4
|
-
export declare class Fox extends Shape {
|
|
5
|
-
constructor(options?: TShapeOptions);
|
|
6
|
-
toSVGPathData(): TSVGParsedPathData[];
|
|
7
|
-
toCanvasContext(ctx: YZCanvasContext): void;
|
|
8
|
-
}
|
|
9
|
-
export default Fox;
|
|
10
|
-
//# sourceMappingURL=Fox.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Fox.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Fox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEhD,qBAAa,GAAI,SAAQ,KAAK;gBAChB,OAAO,CAAC,EAAE,aAAa;IAInC,aAAa,IAAI,kBAAkB,EAAE;IAkBrC,eAAe,CAAC,GAAG,EAAE,eAAe;CAgBrC;AAED,eAAe,GAAG,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Shape, TShapeOptions } from "../Shape";
|
|
2
|
-
import { TSVGParsedPathData } from "../../svg/DOMSVGUtil";
|
|
3
|
-
import { YZCanvasContext } from "../../canvas";
|
|
4
|
-
export type THalfRingOptions = {
|
|
5
|
-
x?: number;
|
|
6
|
-
y?: number;
|
|
7
|
-
width: number;
|
|
8
|
-
height: number;
|
|
9
|
-
startDegree: number;
|
|
10
|
-
endDegree: number;
|
|
11
|
-
extendDegree?: number;
|
|
12
|
-
lineWidth: number;
|
|
13
|
-
color?: CanvasGradient | string;
|
|
14
|
-
} & TShapeOptions;
|
|
15
|
-
export declare class HalfRing extends Shape {
|
|
16
|
-
extendDegree: number;
|
|
17
|
-
radius: number;
|
|
18
|
-
startDegree: number;
|
|
19
|
-
endDegree: number;
|
|
20
|
-
diffDegree: number;
|
|
21
|
-
constructor(options: THalfRingOptions);
|
|
22
|
-
setPercent(percent: number): void;
|
|
23
|
-
toSVGPathData(): TSVGParsedPathData[];
|
|
24
|
-
toCanvasContext(ctx: YZCanvasContext): void;
|
|
25
|
-
}
|
|
26
|
-
export default HalfRing;
|
|
27
|
-
//# sourceMappingURL=HalfRing.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HalfRing.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/HalfRing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AA8B/C,MAAM,MAAM,gBAAgB,GAAG;IAE7B,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAGlB,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,cAAc,GAAG,MAAM,CAAC;CACjC,GAAG,aAAa,CAAC;AAElB,qBAAa,QAAS,SAAQ,KAAK;IACjC,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;gBAEP,OAAO,EAAE,gBAAgB;IAiC9B,UAAU,CAAC,OAAO,EAAE,MAAM;IAKjC,aAAa,IAAI,kBAAkB,EAAE;IAqBrC,eAAe,CAAC,GAAG,EAAE,eAAe;CAWrC;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { YZCanvasContext } from "../../canvas";
|
|
2
|
-
import { TShapeOptions } from "../Shape";
|
|
3
|
-
import ShapeGroup from "../ShapeGroup";
|
|
4
|
-
import Line from "./Line";
|
|
5
|
-
import HalfRing from "./HalfRing";
|
|
6
|
-
export declare class HalfRingIndicator extends ShapeGroup {
|
|
7
|
-
percent: number;
|
|
8
|
-
ringBg: HalfRing;
|
|
9
|
-
ring: HalfRing;
|
|
10
|
-
lines: Line[];
|
|
11
|
-
bgColor: string;
|
|
12
|
-
startColor: string;
|
|
13
|
-
endColor: string;
|
|
14
|
-
indicatorLineCount: number;
|
|
15
|
-
constructor(options: TShapeOptions & {
|
|
16
|
-
x?: number;
|
|
17
|
-
y?: number;
|
|
18
|
-
width: number;
|
|
19
|
-
height: number;
|
|
20
|
-
startDegree?: number;
|
|
21
|
-
endDegree?: number;
|
|
22
|
-
extendDegree?: number;
|
|
23
|
-
lineWidth?: number;
|
|
24
|
-
bgColor?: string;
|
|
25
|
-
startColor?: string;
|
|
26
|
-
endColor?: string;
|
|
27
|
-
percent?: number;
|
|
28
|
-
});
|
|
29
|
-
setPercent(percent: number): void;
|
|
30
|
-
shapeInit(): void;
|
|
31
|
-
frameUpdate(_: any, ctx?: YZCanvasContext): void;
|
|
32
|
-
}
|
|
33
|
-
export default HalfRingIndicator;
|
|
34
|
-
//# sourceMappingURL=HalfRingIndicator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HalfRingIndicator.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/HalfRingIndicator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAc,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,QAAQ,MAAM,YAAY,CAAC;AA4BlC,qBAAa,iBAAkB,SAAQ,UAAU;IAC/C,OAAO,SAAK;IAEZ,MAAM,EAAE,QAAQ,CAAC;IACjB,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,IAAI,EAAE,CAAM;IAEnB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IAEjB,kBAAkB,EAAE,MAAM,CAAC;gBAGzB,OAAO,EAAE,aAAa,GAAG;QAEvB,CAAC,CAAC,EAAE,MAAM,CAAC;QACX,CAAC,CAAC,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB;IA6EI,UAAU,CAAC,OAAO,EAAE,MAAM;IAIjC,SAAS;IAWT,WAAW,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,eAAe;CAuD1C;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Shape, TShapeOptions } from "../Shape";
|
|
2
|
-
import { TSVGParsedPathData } from "../../svg/DOMSVGUtil";
|
|
3
|
-
export declare class Heart extends Shape {
|
|
4
|
-
rx: number;
|
|
5
|
-
ry: number;
|
|
6
|
-
constructor(options?: TShapeOptions & {
|
|
7
|
-
rx?: number;
|
|
8
|
-
ry?: number;
|
|
9
|
-
});
|
|
10
|
-
toSVGPathData(): TSVGParsedPathData[];
|
|
11
|
-
}
|
|
12
|
-
export default Heart;
|
|
13
|
-
//# sourceMappingURL=Heart.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Heart.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Heart.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,qBAAa,KAAM,SAAQ,KAAK;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;gBAGT,OAAO,CAAC,EAAE,aAAa,GAAG;QACxB,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,EAAE,CAAC,EAAE,MAAM,CAAC;KACb;IAOH,aAAa,IAAI,kBAAkB,EAAE;CActC;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Shape, TShapeOptions } from "../Shape";
|
|
2
|
-
import { TSVGParsedPathData } from "../../svg/DOMSVGUtil";
|
|
3
|
-
export declare class HeartVariant extends Shape {
|
|
4
|
-
rx: number;
|
|
5
|
-
ry: number;
|
|
6
|
-
constructor(options?: TShapeOptions & {
|
|
7
|
-
rx?: number;
|
|
8
|
-
ry?: number;
|
|
9
|
-
});
|
|
10
|
-
toSVGPathData(): TSVGParsedPathData[];
|
|
11
|
-
}
|
|
12
|
-
export default HeartVariant;
|
|
13
|
-
//# sourceMappingURL=HeartVariant.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HeartVariant.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/HeartVariant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,qBAAa,YAAa,SAAQ,KAAK;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;gBAGT,OAAO,CAAC,EAAE,aAAa,GAAG;QACxB,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,EAAE,CAAC,EAAE,MAAM,CAAC;KACb;IAOH,aAAa,IAAI,kBAAkB,EAAE;CA8BtC;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import Shape, { TShapeOptions } from "../Shape";
|
|
2
|
-
import { TSVGParsedPathData } from "../../svg/DOMSVGUtil";
|
|
3
|
-
import { YZCanvasContext } from "../../canvas/YZCanvasContext";
|
|
4
|
-
export declare class Line extends Shape {
|
|
5
|
-
toX: number;
|
|
6
|
-
toY: number;
|
|
7
|
-
constructor(options?: {
|
|
8
|
-
toX?: number;
|
|
9
|
-
toY?: number;
|
|
10
|
-
} & TShapeOptions);
|
|
11
|
-
toSVGPathData(): TSVGParsedPathData[];
|
|
12
|
-
toCanvasContext(ctx: YZCanvasContext): void;
|
|
13
|
-
intersection(line: Line): {
|
|
14
|
-
x: number;
|
|
15
|
-
y: number;
|
|
16
|
-
} | null;
|
|
17
|
-
}
|
|
18
|
-
export default Line;
|
|
19
|
-
//# sourceMappingURL=Line.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Line.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Line.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,qBAAa,IAAK,SAAQ,KAAK;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;gBAEA,OAAO,CAAC,EAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,aAAa;IAyCpE,aAAa,IAAI,kBAAkB,EAAE;IAiBrC,eAAe,CAAC,GAAG,EAAE,eAAe,GAAG,IAAI;IAM3C,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;CAe1D;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { TShapeOptions } from "../Shape";
|
|
2
|
-
import ShapeGroup from "../ShapeGroup";
|
|
3
|
-
export declare class LinePicture extends ShapeGroup {
|
|
4
|
-
svgWidth: number;
|
|
5
|
-
svgHeight: number;
|
|
6
|
-
width: number;
|
|
7
|
-
height: number;
|
|
8
|
-
constructor(options: {
|
|
9
|
-
svg: string;
|
|
10
|
-
width?: number;
|
|
11
|
-
} & TShapeOptions);
|
|
12
|
-
shapeInit(): void;
|
|
13
|
-
}
|
|
14
|
-
export default LinePicture;
|
|
15
|
-
//# sourceMappingURL=LinePicture.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinePicture.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/LinePicture.ts"],"names":[],"mappings":"AAEA,OAAO,EAAS,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,UAAU,MAAM,eAAe,CAAC;AAEvC,qBAAa,WAAY,SAAQ,UAAU;IACzC,QAAQ,SAAK;IACb,SAAS,SAAK;IACd,KAAK,SAAK;IACV,MAAM,SAAK;gBAEC,OAAO,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,aAAa;IA2EpE,SAAS;CAGV;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import Shape, { TShapeOptions } from "../Shape";
|
|
2
|
-
import { TSVGParsedPathData } from "../../svg/DOMSVGUtil";
|
|
3
|
-
import { YZCanvasContext } from "../../canvas/YZCanvasContext";
|
|
4
|
-
export declare class LineQuadraticBezier extends Shape {
|
|
5
|
-
cx: number;
|
|
6
|
-
cy: number;
|
|
7
|
-
toX: number;
|
|
8
|
-
toY: number;
|
|
9
|
-
isLineThrough: boolean;
|
|
10
|
-
constructor(options?: {
|
|
11
|
-
cx?: number;
|
|
12
|
-
cy?: number;
|
|
13
|
-
toX?: number;
|
|
14
|
-
toY?: number;
|
|
15
|
-
isLineThrough?: boolean;
|
|
16
|
-
} & TShapeOptions);
|
|
17
|
-
toSVGPathData(): TSVGParsedPathData[];
|
|
18
|
-
toCanvasContext(ctx: YZCanvasContext): void;
|
|
19
|
-
}
|
|
20
|
-
export default LineQuadraticBezier;
|
|
21
|
-
//# sourceMappingURL=LineQuadraticBezier.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LineQuadraticBezier.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/LineQuadraticBezier.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,qBAAa,mBAAoB,SAAQ,KAAK;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,OAAO,CAAC;gBAGrB,OAAO,CAAC,EAAE;QACR,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,aAAa,CAAC,EAAE,OAAO,CAAC;KACzB,GAAG,aAAa;IAgBnB,aAAa,IAAI,kBAAkB,EAAE;IAsBrC,eAAe,CAAC,GAAG,EAAE,eAAe,GAAG,IAAI;CAqB5C;AAED,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { Shape, TShapeOptions } from "../Shape";
|
|
2
|
-
import { TSVGParsedPathData } from "../../svg/DOMSVGUtil";
|
|
3
|
-
import { YZCanvasContext } from "../../canvas";
|
|
4
|
-
export type TPointOptions = {
|
|
5
|
-
radius?: number;
|
|
6
|
-
} & TShapeOptions;
|
|
7
|
-
export declare class Point extends Shape {
|
|
8
|
-
radius: number;
|
|
9
|
-
constructor(options?: TPointOptions);
|
|
10
|
-
getBoundingClientRect(): {
|
|
11
|
-
x: number;
|
|
12
|
-
y: number;
|
|
13
|
-
width: number;
|
|
14
|
-
height: number;
|
|
15
|
-
};
|
|
16
|
-
toSVGPathData(): TSVGParsedPathData[];
|
|
17
|
-
toCanvasContext(ctx: YZCanvasContext): void;
|
|
18
|
-
eq(point: Point): boolean;
|
|
19
|
-
midPointBtw(point: Point): {
|
|
20
|
-
x: number;
|
|
21
|
-
y: number;
|
|
22
|
-
};
|
|
23
|
-
length(): number;
|
|
24
|
-
scalar(scale: number): this;
|
|
25
|
-
normalize(len?: number): Point;
|
|
26
|
-
clamp(len: number): this;
|
|
27
|
-
cross(pt: {
|
|
28
|
-
x: number;
|
|
29
|
-
y: number;
|
|
30
|
-
}): {
|
|
31
|
-
x: number;
|
|
32
|
-
y: number;
|
|
33
|
-
};
|
|
34
|
-
multiply(pt: {
|
|
35
|
-
x: number;
|
|
36
|
-
y: number;
|
|
37
|
-
}): {
|
|
38
|
-
x: number;
|
|
39
|
-
y: number;
|
|
40
|
-
};
|
|
41
|
-
div(pt: {
|
|
42
|
-
x: number;
|
|
43
|
-
y: number;
|
|
44
|
-
}): {
|
|
45
|
-
x: number;
|
|
46
|
-
y: number;
|
|
47
|
-
};
|
|
48
|
-
add(pt: {
|
|
49
|
-
x: number;
|
|
50
|
-
y: number;
|
|
51
|
-
}): {
|
|
52
|
-
x: number;
|
|
53
|
-
y: number;
|
|
54
|
-
};
|
|
55
|
-
sub(pt: {
|
|
56
|
-
x: number;
|
|
57
|
-
y: number;
|
|
58
|
-
}): {
|
|
59
|
-
x: number;
|
|
60
|
-
y: number;
|
|
61
|
-
};
|
|
62
|
-
dot(pt: {
|
|
63
|
-
x: number;
|
|
64
|
-
y: number;
|
|
65
|
-
}): number;
|
|
66
|
-
reflect(pt: {
|
|
67
|
-
x: number;
|
|
68
|
-
y: number;
|
|
69
|
-
}): {
|
|
70
|
-
x: number;
|
|
71
|
-
y: number;
|
|
72
|
-
};
|
|
73
|
-
checkCollision(target: Point): void;
|
|
74
|
-
checkWall(options: {
|
|
75
|
-
wall: {
|
|
76
|
-
x: number;
|
|
77
|
-
y: number;
|
|
78
|
-
width: number;
|
|
79
|
-
height: number;
|
|
80
|
-
};
|
|
81
|
-
bounce?: number;
|
|
82
|
-
}): void;
|
|
83
|
-
}
|
|
84
|
-
export default Point;
|
|
85
|
-
//# sourceMappingURL=Point.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Point.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Point.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAI/C,MAAM,MAAM,aAAa,GAAG;IAE1B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,aAAa,CAAC;AAElB,qBAAa,KAAM,SAAQ,KAAK;IACvB,MAAM,EAAE,MAAM,CAAC;gBAEV,OAAO,CAAC,EAAE,aAAa;IAKnC,qBAAqB;;;;;;IASrB,aAAa,IAAI,kBAAkB,EAAE;IAarC,eAAe,CAAC,GAAG,EAAE,eAAe;IAMpC,EAAE,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO;IASzB,WAAW,CAAC,KAAK,EAAE,KAAK;;;;IAOxB,MAAM;IAIN,MAAM,CAAC,KAAK,EAAE,MAAM;IAMpB,SAAS,CAAC,GAAG,SAAI,GAAG,KAAK;IASzB,KAAK,CAAC,GAAG,EAAE,MAAM;IAQjB,KAAK,CAAC,EAAE,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE;;;;IASlC,QAAQ,CAAC,EAAE,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE;;;;IAOrC,GAAG,CAAC,EAAE,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE;;;;IAOhC,GAAG,CAAC,EAAE,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE;;;;IAOhC,GAAG,CAAC,EAAE,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE;;;;IAOhC,GAAG,CAAC,EAAE,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM;IAIzC,OAAO,CAAC,EAAE,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE;;;;IASpC,cAAc,CAAC,MAAM,EAAE,KAAK;IA4C5B,SAAS,CAAC,OAAO,EAAE;QACjB,IAAI,EAAE;YAAE,CAAC,EAAE,MAAM,CAAC;YAAC,CAAC,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAC;QAC9D,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB;CAqBF;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Shape, TShapeOptions } from "../Shape";
|
|
2
|
-
import { TSVGParsedPathData } from "../../svg/DOMSVGUtil";
|
|
3
|
-
import { YZCanvasContext } from "../../canvas";
|
|
4
|
-
export declare class Points extends Shape {
|
|
5
|
-
private points;
|
|
6
|
-
isStraight: boolean;
|
|
7
|
-
constructor(options: TShapeOptions & {
|
|
8
|
-
points: {
|
|
9
|
-
x: number;
|
|
10
|
-
y: number;
|
|
11
|
-
}[];
|
|
12
|
-
isStraight?: boolean;
|
|
13
|
-
});
|
|
14
|
-
toSVGPathData(): TSVGParsedPathData[];
|
|
15
|
-
toCanvasContext(ctx: YZCanvasContext): void;
|
|
16
|
-
isContainPoint(x: number, y: number): boolean;
|
|
17
|
-
[Symbol.iterator](): {
|
|
18
|
-
next: () => {
|
|
19
|
-
value: {
|
|
20
|
-
x: number;
|
|
21
|
-
y: number;
|
|
22
|
-
} | undefined;
|
|
23
|
-
done: boolean;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
export default Points;
|
|
28
|
-
//# sourceMappingURL=Points.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Points.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Points.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAM/C,qBAAa,MAAO,SAAQ,KAAK;IAC/B,OAAO,CAAC,MAAM,CAA6B;IACpC,UAAU,EAAE,OAAO,CAAC;gBAGzB,OAAO,EAAE,aAAa,GAAG;QACvB,MAAM,EAAE;YAAE,CAAC,EAAE,MAAM,CAAC;YAAC,CAAC,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC;QACnC,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB;IAWH,aAAa,IAAI,kBAAkB,EAAE;IAsCrC,eAAe,CAAC,GAAG,EAAE,eAAe;IAmCpC,cAAc,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IAwCnC,CAAC,MAAM,CAAC,QAAQ,CAAC;;;mBAnII,MAAM;mBAAK,MAAM;;;;;CA6IvC;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Shape, TShapeOptions } from "../Shape";
|
|
2
|
-
import { TSVGParsedPathData } from "../../svg/DOMSVGUtil";
|
|
3
|
-
export declare class Rabbit extends Shape {
|
|
4
|
-
constructor(options?: TShapeOptions);
|
|
5
|
-
toSVGPathData(): TSVGParsedPathData[];
|
|
6
|
-
}
|
|
7
|
-
export default Rabbit;
|
|
8
|
-
//# sourceMappingURL=Rabbit.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Rabbit.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Rabbit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,qBAAa,MAAO,SAAQ,KAAK;gBACnB,OAAO,CAAC,EAAE,aAAa;IAInC,aAAa,IAAI,kBAAkB,EAAE;CAWtC;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Shape, TShapeOptions } from "../Shape";
|
|
2
|
-
import { TSVGParsedPathData } from "../../svg/DOMSVGUtil";
|
|
3
|
-
import { YZCanvasContext } from "../../canvas/YZCanvasContext";
|
|
4
|
-
export type TRectOptions = {
|
|
5
|
-
width: number;
|
|
6
|
-
height: number;
|
|
7
|
-
borderRadius?: number;
|
|
8
|
-
} & TShapeOptions;
|
|
9
|
-
export declare class Rect extends Shape {
|
|
10
|
-
width: number;
|
|
11
|
-
height: number;
|
|
12
|
-
borderRadius: number;
|
|
13
|
-
constructor(options: TRectOptions);
|
|
14
|
-
static fromCubicBezier(p1x: number, p1y: number, c1x: number, c1y: number, c2x: number, c2y: number, p2x: number, p2y: number): Rect;
|
|
15
|
-
getBoundingClientRect(): {
|
|
16
|
-
x: number;
|
|
17
|
-
y: number;
|
|
18
|
-
width: number;
|
|
19
|
-
height: number;
|
|
20
|
-
};
|
|
21
|
-
toSVGPathData(): TSVGParsedPathData[];
|
|
22
|
-
toCanvasContext(ctx: YZCanvasContext): void;
|
|
23
|
-
eq(rect: Rect): boolean;
|
|
24
|
-
isIntersectRect(rect: {
|
|
25
|
-
x: number;
|
|
26
|
-
y: number;
|
|
27
|
-
width: number;
|
|
28
|
-
height: number;
|
|
29
|
-
}): boolean;
|
|
30
|
-
isContainPoint(x: number, y: number): boolean;
|
|
31
|
-
}
|
|
32
|
-
export default Rect;
|
|
33
|
-
//# sourceMappingURL=Rect.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Rect.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Rect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAG/D,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,aAAa,CAAC;AAElB,qBAAa,IAAK,SAAQ,KAAK;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IAEf,YAAY,EAAE,MAAM,CAAC;gBAET,OAAO,EAAE,YAAY;IAOjC,MAAM,CAAC,eAAe,CACpB,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,GACV,IAAI;IAcP,qBAAqB;;;;;;IASrB,aAAa,IAAI,kBAAkB,EAAE;IA6DrC,eAAe,CAAC,GAAG,EAAE,eAAe;IAuBpC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAUvB,eAAe,CAAC,IAAI,EAAE;QACpB,CAAC,EAAE,MAAM,CAAC;QACV,CAAC,EAAE,MAAM,CAAC;QACV,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;KAChB;IAaD,cAAc,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;CAcpC;AAED,eAAe,IAAI,CAAC"}
|