Garry's Mod Wiki

Revision Difference

Panel:SetExpensiveShadow#551973

<function name="SetExpensiveShadow" parent="Panel" type="classfunc"> <description>Adds a shadow falling to the bottom right corner of the panel's text. This has no effect on panels that do not derive from Label.</description>⤶ <description>Adds a shadow falling to the bottom right corner of the panel's text.⤶ <note>This works only on panels that derive from <page>Label</page>.</note>⤶ </description>⤶ <realm>Client and Menu</realm> <args> <arg name="distance" type="number">The distance of the shadow from the panel.</arg> <arg name="Color" type="table">The color of the shadow. Uses the <page>Color</page>.</arg> </args> </function>