Panel/DrawFilledRect

From Garry's Mod
Jump to: navigation, search
 Panel:DrawFilledRect( )

Description

Draws a coloured rectangle to fill the panel object this method is called on. The colour is set using surface.SetDrawColor. This should only be called within the object's PANEL:Paint or PANEL:PaintOver hooks, as a shortcut for surface.DrawRect.

Personal tools
Navigation