render Textbox
fun renderTextbox(text: <Error class: unknown class>, xPos: Float, yPos: Float, buffer: Float, color: Color = defaultTextBoxColor, frameColor: Color = defaultFrameColor)
Render a textbox for given string at given position.
This gets used by buttons internally, so unless you want to manually display text, you won't need to use this.
Parameters
text
string to surround by textbox
x Pos
position where you will draw the string
y Pos
position where you will draw the string
buffer
additional space
color
background color of the textbox
frame Color
color of the surrounding frame