text
open fun text(text: String, at: Point = Origin, fill: Paint, textSpacing: TextSpacing = default)(source)
Draws unwrapped plain text in the default Font.
Parameters
text
to draw
at
this point
fill
to fill with
open fun text(text: String, at: Point = Origin, stroke: Stroke, fill: Paint? = null, textSpacing: TextSpacing = default)(source)
Draws unwrapped plain text in the default Font.
Parameters
text
to draw
at
this point
stroke
to outline with
fill
to fill with
abstract fun text(text: String, font: Font?, at: Point, fill: Paint, textSpacing: TextSpacing = default)(source)
Draws unwrapped plain text.
Parameters
text
to draw
font
to use
at
this point
fill
to fill with
abstract fun text(text: String, font: Font?, at: Point, stroke: Stroke, fill: Paint? = null, textSpacing: TextSpacing = default)(source)
Draws unwrapped plain text.
Parameters
text
to draw
font
to use
at
this point
stroke
to outline with
fill
to fill with
abstract fun text(text: AnnotatedString, at: Point = Origin, textSpacing: TextSpacing = default)(source)
Draws styled text.
Parameters
text
to draw
at
this point