rect3
fun Canvas.rect3(x: Float, y: Float, z: Float, width: Float, height: Float, color: Color = Color.BLACK)
Draws a rectangular plane 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.
color
The color of the rectangle.