Spaces:
Sleeping
Sleeping
Download backend/libs/three/extras/core/ShapePath.d.ts from k-l-lambda/starry: direct link, hf CLI and curl.
- Browser
- Download file 716 Bytes
-
https://huggingface.co/spaces/k-l-lambda/starry/resolve/main/backend/libs/three/extras/core/ShapePath.d.ts
- Command line
-
hf download hf://spaces/k-l-lambda/starry/backend/libs/three/extras/core/ShapePath.d.ts
-
curl -L -o ShapePath.d.ts https://huggingface.co/spaces/k-l-lambda/starry/resolve/main/backend/libs/three/extras/core/ShapePath.d.ts
716 Bytes
| import { Vector2 } from './../../math/Vector2'; | |
| import { Shape } from './Shape'; | |
| import { Color } from '../../math/Color'; | |
| export class ShapePath { | |
| constructor(); | |
| /** | |
| * @default 'ShapePath' | |
| */ | |
| type: string; | |
| /** | |
| * @default new THREE.Color() | |
| */ | |
| color: Color; | |
| /** | |
| * @default [] | |
| */ | |
| subPaths: any[]; | |
| /** | |
| * @default null | |
| */ | |
| currentPath: any; | |
| moveTo(x: number, y: number): this; | |
| lineTo(x: number, y: number): this; | |
| quadraticCurveTo(aCPx: number, aCPy: number, aX: number, aY: number): this; | |
| bezierCurveTo(aCP1x: number, aCP1y: number, aCP2x: number, aCP2y: number, aX: number, aY: number): this; | |
| splineThru(pts: Vector2[]): this; | |
| toShapes(isCCW: boolean, noHoles?: boolean): Shape[]; | |
| } | |