ApplyShadowMode
Controls which part of a parent UI element a UIShadow applies its drop shadow to.
Items 2
| History | Name | Value | Description | |
|---|---|---|---|---|
| 732 | Shape | 0 | The shadow is applied to the parent element's frame. | |
| 732 | Text | 1 | The shadow is applied to the parent element's text; no-op if the parent is not a text element. |
Description
Controls which part of a parent UI element a UIShadow applies its drop shadow to. The default value is ApplyShadowMode.Shape, which casts a shadow from the element's bounding frame. Set the value to ApplyShadowMode.Text to cast the shadow from rendered glyphs instead; this has no effect if the parent element is not a text-rendering object such as TextLabel or TextButton.