Shape
Represents a 3D shape composed of multiple polygon faces (Path instances).
Shapes are immutable value objects: every transform method (translate, rotate, scale) returns a new Shape rather than mutating in place. The constituent paths define the faces of the shape and are used for rendering, depth sorting, and hit testing.
Use the extrude factory method to create a 3D shape from a 2D Path, or construct directly from a list of paths.
Parameters
paths
The polygon faces that make up this shape (must not be empty)