drawRectangle

expect fun drawRectangle(xPos: Short, yPos: Short, width: Short, height: Short, drawDesc: RectangleDescriptor)

Draws a rectangle on the canvas.

Parameters

xPos

X coordinate.

yPos

Y coordinate.

width

Width of the rectangle

height

Height of the rectangle.

drawDesc

The drawing metadata to use.

actual fun drawRectangle(xPos: Short, yPos: Short, width: Short, height: Short, drawDesc: RectangleDescriptor)
actual fun drawRectangle(xPos: Short, yPos: Short, width: Short, height: Short, drawDesc: RectangleDescriptor)