GraphicShape2d Interface
A GraphicPrimitive representing a closed 2d region that can be supplied to addPrimitive.
@see addShape2d.
Extends
Properties
| Name | Type | Description | |
|---|---|---|---|
| points | Point2d[] | ||
| type | "shape2d" |
Inherited properties
| Name | Type | Inherited from | Description |
|---|---|---|---|
| zDepth Inherited | number | GraphicPrimitive2d | Z value in local coordinates to use for each point. |
Defined in
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.