Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/threejs_4_deno/src/extras/core/ShapePath.js>ShapePath

A simple transformation of three.js for use within a Deno workflow
Go to Latest
class ShapePath
import { ShapePath } from "https://deno.land/x/threejs_4_deno@v121/src/extras/core/ShapePath.js";

Constructors

new
ShapePath()

Properties

color: Color
currentPath: any
subPaths: any[]
type: string

Methods

bezierCurveTo(
aCP1x: number,
aCP1y: number,
aCP2x: number,
aCP2y: number,
aX: number,
aY: number,
): this
lineTo(x: number, y: number): this
moveTo(x: number, y: number): this
quadraticCurveTo(
aCPx: number,
aCPy: number,
aX: number,
aY: number,
): this
splineThru(pts: Vector2[]): this
toShapes(isCCW: boolean, noHoles?: boolean): Shape[]