drawText

expect fun drawText(xPos: Short, yPos: Short, maxWidth: Short, txt: String, drawDesc: LabelDescriptor)

Draws text on the canvas.

Parameters

xPos

X coordinate.

yPos

Y coordinate.

maxWidth

Max width of the text. The text will be wrapped to fit into this size.

txt

The text to display.

drawDesc

The drawing metadata to use.

actual fun drawText(xPos: Short, yPos: Short, maxWidth: Short, txt: String, drawDesc: LabelDescriptor)
actual fun drawText(xPos: Short, yPos: Short, maxWidth: Short, txt: String, drawDesc: LabelDescriptor)