GWEN.CreateTextureBorder
Example
Draws a bordered box in the top left corner of the screen using current skins texture.
local paintBox = GWEN.CreateTextureBorder( 384, 32, 31, 31, 4, 4, 4, 4 )
hook.Add( "HUDPaint", "PaintStuff", function()
paintBox( 0, 0, 100, 100 )
end )
Output: If using default skin, it will be a 100x100px transparent blue box in top left corner with solid blue borders.