DisableClipping
Example
Renders a white box outside of the panel
function PANEL:Paint()
local old = DisableClipping( true )
draw.RoundedBox( 0, -50, -50, 25, 25, color_white )
DisableClipping( old )
end
Sets whether rendering should be limited to being inside a panel or not.
See also Panel:NoClipping.
Renders a white box outside of the panel