class Shape
extends Path
Re-export
import { Shape } from "https://deno.land/x/threejs_4_deno@v121/src/Three.d.ts";
Defines a 2d shape plane using paths.
Constructors
new
Shape(points?: Vector2[])Properties
holes: Path[]
Methods
deprecated
extractAllPoints(divisions: number): { shape: Vector2[]; holes: Vector2[][]; }extractPoints(divisions: number): { shape: Vector2[]; holes: Vector2[][]; }
deprecated
extrude(options?: any): ExtrudeGeometrygetPointsHoles(divisions: number): Vector2[][]
deprecated
makeGeometry(options?: any): ShapeGeometry