Garry's Mod Wiki

Revision Difference

Panel:NoClipping#560949

<function name="NoClipping" parent="Panel" type="classfunc"> <description>⤶ ⤶ <description>⤶ Sets whether this panel's drawings should be clipped within the parent panel's bounds. ⤶ See also <page>Global.DisableClipping</page>.⤶ </description>⤶ <realm>Client and Menu</realm>⤶ ⤶ <note>⤶ 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 <page>DLabel</page> will still be clipped to the parent.⤶ ⤶ To fully disable the clipping of any children see <page>Global.DisableClipping</page>.⤶ </note> ⤶ </description>⤶ ⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="clip" type="boolean">Whether to clip or not.</arg> </args> </function>