Garry's Mod Wiki

Revision Difference

draw.GetFontHeight#524606

<function name="GetFontHeight" parent="draw" type="libraryfunc"> <description> Returns the height of the specified font in pixels. <rendercontext hook="false" type="2D"/>⤶ <rendercontext hook="false" type="2D"></rendercontext>⤶ </description> <realm>Client and Menu</realm> <file line="33-L49">lua/includes/modules/draw.lua</file> <args> <arg name="font" type="string">Name of the font to get the height of.</arg> </args> <rets> <ret name="" type="number">The font height</ret> </rets> </function>