You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Protovision edited this page Jan 8, 2016
·
1 revision
font:render( text, color )
Renders the text with the specified color. text is a string, color is a string representing the hexadecimal rgba color. Returns a userdata object of class "moonbase_image"
font:getRenderSize( text )
Returns an array containing the width and height of text if it were rendered with the specified font