class three.Shape
extends Path
Re-export
import { three } from "https://deno.land/x/remapper@3.0.0/src/deps.ts";
const { Shape } = three;
Defines a 2d shape plane using paths.
Constructors
new
Shape(points?: Vector2[])Methods
extractPoints(divisions: number): { shape: Vector2[]; holes: Vector2[][]; }
getPointsHoles(divisions: number): Vector2[][]