FontRenderer

This page goes over about the FontRnederer object.

width(text): Number

Returns the text width.

height(): Number

Returns the font height.

draw(text, x, y, color): Undefined

drawCentered(text, x, y, color): Undefined

drawWithShadow(text, x, y, color): Undefined

drawCenteredWithShadow(text, x, y, color): Undefined

Renders a string. The function name speaks for itself.

Last updated