Garry's Mod Wiki

Panel:DrawFilledRect

Panel:DrawFilledRect

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.

Special Pages


Wikis

?

Render Time: 63ms

DB GetPage 41
Generate Html 2
SaveChanges (1) 10
Render Body 0
Render Sidebar 8