Garry's Mod Wiki

Panel:DrawOutlinedRect

  Panel:DrawOutlinedRect()

Description

Draws a hollow rectangle the size of the panel object this method is called on, with a border width of 1 px. The border 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.DrawOutlinedRect.