12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- 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[];
- }
|