Garry's Mod Wiki

Panel:NoClipping

  Panel:NoClipping( boolean noclip )

Description

Sets whether this panel's drawings should be clipped within the parent panel's bounds.

This only disabled clipping for the Paint Related functions (as far as i can tell at the current moment, more testing should be done) so things like the text of a DLabel will still be clipped to the parent.

To fully disable the clipping of any children see DisableClipping.

Arguments

1 boolean noclip
Whether to disable clipping or not. True to disable clipping, false to enable clipping.