text

inline fun CommonCanvas.text(text: String, at: Point = Origin, color: Color)

Draws unwrapped plain text in the default Font.

Parameters

text

to draw

at

this point

color

to fill with


inline fun CommonCanvas.text(text: String, font: Font?, at: Point = Origin, color: Color)

Draws unwrapped plain text.

Parameters

text

to draw

font

to use

at

this point

color

to fill with