draw.GetFontHeight

From GMod Wiki

Jump to: navigation, search
Function
Syntax draw.GetFontHeight( String Font )
Where is this used?
Description:
Gets the height of Font
Returns: Number
Part of Library: Draw
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Draw.GetFontHeight]Draw.GetFontHeight [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionReturns the font height for the scoreboard font.
Used onNewerClient.png
Code
 
  height = draw.GetFontHeight("ScoreboardText")
 
OutputHeight of ScoreBoard font.


Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox