Prism
class Prism @JvmOverloads constructor(val position: Point = Point.ORIGIN, val width: Double = 1.0, val depth: Double = 1.0, val height: Double = 1.0) : Shape
A rectangular prism (box) shape composed of six quad faces.
Parameters
position
The minimum-corner origin point of the prism (default Point.ORIGIN)
width
The extent along the x-axis (must be positive, default 1.0)
depth
The extent along the y-axis (must be positive, default 1.0). Note that this is a geometric dimension and is unrelated to Path.depth, which is a sorting metric.
height
The extent along the z-axis (must be positive, default 1.0)