Text Renderer Api
interface TextRendererApi
Inheritors
Functions
Link copied to clipboard
Link copied to clipboard
abstract fun drawText(renderer: Renderer2D, text: String, reference: FontReference, matrix: Matrix3f, availableArea: Vector2f = Vector2f(100f), color: Color = Colors.WHITE, backgroundColor: Color? = null): TextLayout
Link copied to clipboard
abstract fun drawTextLayout(renderer: Renderer2D, matrix: Matrix3f, color: Color, layout: TextLayout)
Link copied to clipboard
open fun drawTextLayoutMetrics(renderer: Renderer2D, matrix: Matrix3f, font: FontReference, layout: TextLayout)
abstract fun drawTextLayoutMetrics(renderer: Renderer2D, matrix: Matrix3f, font: PixelFont, layout: TextLayout)
Link copied to clipboard