- Preparing search index...
- The search index is not available
feng3d
Constructors
constructor
- new ShapePath2(): ShapePath2
-
Properties
color
currentPath
subPaths
Methods
bezierCurveTo
- bezierCurveTo(aCP1x, aCP1y, aCP2x, aCP2y, aX, aY): ShapePath2
-
Parameters
-
aCP1x: number
-
aCP1y: number
-
aCP2x: number
-
aCP2y: number
-
aX: number
-
aY: number
closePath
- closePath(): void
-
Returns void
lineTo
- lineTo(x, y): ShapePath2
-
moveTo
- moveTo(x, y): ShapePath2
-
quadraticCurveTo
- quadraticCurveTo(aCPx, aCPy, aX, aY): ShapePath2
-
Parameters
-
aCPx: number
-
aCPy: number
-
aX: number
-
aY: number
splineThru
- splineThru(pts): ShapePath2
-
toShapes
- toShapes(isCCW?, noHoles?): Shape2[]
-
Parameters
-
Optional isCCW: boolean
-
Optional noHoles: boolean