Garry's Mod Wiki

Garry's Mod Wiki

  string Panel:GetFont()

Description

Returns the name of the font that the panel renders its text with.

This is the same font name set with Panel:SetFontInternal.

Only works on Label and TextEntry and their derived panels by default (such as DLabel and DTextEntry), and on any panel that manually implemented the Panel:GetFont method.

Returns

1 string
The font name.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...