addText

open override fun addText(spans: List<TextSpan>, boxes: List<Rectangle>)(source)

Typesets spans into boxes and adds the result.


open override fun addText(face: Face, text: String, position: Vector2)(source)

Adds a single line of text in face starting at position, without typesetting.