# Sandbox.UI.ShadowDrawDescriptor

A box-shadow. For an outset shadow PanelRect is the border box, for an inset one it's the padding box the
shadow is drawn inside; Radii are that box's corners.

- Kind: struct
- Namespace: `Sandbox.UI`
- Assembly: `Sandbox.Engine`
- Modifiers: sealed

## Constructors

- [`ShadowDrawDescriptor`](/api/Sandbox.UI.ShadowDrawDescriptor/.ctor): A box-shadow. For an outset shadow PanelRect is the border box, for an inset one it's the padding box the shadow is drawn inside; Radii are that box's corners.

## Fields

- [`Blur`](/api/Sandbox.UI.ShadowDrawDescriptor/Blur)
- [`Inset`](/api/Sandbox.UI.ShadowDrawDescriptor/Inset)
- [`Offset`](/api/Sandbox.UI.ShadowDrawDescriptor/Offset)
- [`Spread`](/api/Sandbox.UI.ShadowDrawDescriptor/Spread)

## Properties

- [`BorderRadius`](/api/Sandbox.UI.ShadowDrawDescriptor/BorderRadius): Circular corner radii as (top-left, top-right, bottom-left, bottom-right).
- [`Color`](/api/Sandbox.UI.ShadowDrawDescriptor/Color)
- [`PanelRect`](/api/Sandbox.UI.ShadowDrawDescriptor/PanelRect)

## Methods

- [`Deconstruct`](/api/Sandbox.UI.ShadowDrawDescriptor/Deconstruct)
