import { Path } from "https://deno.land/x/threejs_4_deno@v121/src/Three.js";
a 2d path representation, comprising of points, lines, and cubes, similar to the html5 2d canvas api. It extends CurvePath.
Constructors
new
Path(points?: Vector2[])Properties
currentPoint: Vector2
Methods
absarc(): this
aX: number,
aY: number,
aRadius: number,
aStartAngle: number,
aEndAngle: number,
aClockwise: boolean,
absellipse(): this
aX: number,
aY: number,
xRadius: number,
yRadius: number,
aStartAngle: number,
aEndAngle: number,
aClockwise: boolean,
aRotation: number,
arc(): this
aX: number,
aY: number,
aRadius: number,
aStartAngle: number,
aEndAngle: number,
aClockwise: boolean,
bezierCurveTo(): this
aCP1x: number,
aCP1y: number,
aCP2x: number,
aCP2y: number,
aX: number,
aY: number,
ellipse(): this
aX: number,
aY: number,
xRadius: number,
yRadius: number,
aStartAngle: number,
aEndAngle: number,
aClockwise: boolean,
aRotation: number,
deprecated
fromPoints(vectors: Vector2[]): thislineTo(x: number, y: number): this
moveTo(x: number, y: number): this
quadraticCurveTo(): this
aCPx: number,
aCPy: number,
aX: number,
aY: number,
setFromPoints(vectors: Vector2[]): this
splineThru(pts: Vector2[]): this