text

abstract fun text(text: StyledText, at: Point = Origin, textSpacing: TextSpacing = default)

Draws styled text.

Parameters

text

to draw

at

this point


open fun text(text: String, at: Point = Origin, fill: Paint, textSpacing: TextSpacing = default)

Draws unwrapped plain text in the default Font.

Parameters

text

to draw

at

this point

fill

to fill with


abstract fun text(text: String, font: Font?, at: Point, fill: Paint, textSpacing: TextSpacing = default)

Draws unwrapped plain text.

Parameters

text

to draw

font

to use

at

this point

fill

to fill with