wrapped
abstract fun wrapped(text: String, at: Point = Origin, width: Double, fill: Paint, font: Font? = null, indent: Double = 0.0, alignment: TextAlignment = Start, lineSpacing: Float = 1.0f, textSpacing: TextSpacing = default)
Draws wrapped plain text.
Parameters
text
to draw
at
this point
width
of text, beyond which it wraps
fill
to fill with
font
to use
indent
of first line
alignment
of text
lineSpacing
of text in % (1 = spacing for this font)
textSpacing
of text
abstract fun wrapped(text: StyledText, at: Point = Origin, width: Double, indent: Double = 0.0, alignment: TextAlignment = Start, lineSpacing: Float = 1.0f, textSpacing: TextSpacing = default)
Draws wrapped styled text.
Parameters
text
to draw
at
this point
width
of text, beyond which it wraps
indent
of first line
alignment
of text
lineSpacing
of text in % (1 = spacing for this font)
textSpacing
of text