fill Rect Prism
fun Canvas.fillRectPrism(x: Int, y: Int, z: Int, width: Float, height: Float, length: Float, color: Color = Color.BLACK)
Draws a rectangular prism in 3D space.
Parameters
x
The X coordinate of the rectangle center.
y
The Y coordinate of the rectangle center.
z
The Z coordinate of the rectangle center.
width
The width of the rectangle.
height
The height of the rectangle.
length
The length of the rectangle.
color
The color of the rectangle.