struct
Shadow
public sealed struct Shadow Shadow style settings
Methods
Shadow Scale(Single f) Scale all variables by given scalar.
f — How much to scale the shadow parameters by. 1 is no change, 2 is double the sizes, etc. returns — The scaled shadow.
Fields
| Name | Type | Description |
|---|---|---|
OffsetX | Single | Shadow offset on the X axis. |
OffsetY | Single | Shadow offset on the Y axis. |
Blur | Single | Amount of blurring for the shadow. |
Spread | Single | Increases the box size by this much before starting shadow blur. Box shadows only. |
Inset | Boolean | Whether or not this shadow is inset. Box shadows only. |
Color | Color | Color of the shadow. |