FREE TRIAL

|

☀
☾
struct

Shadow

A drop shadow, inner shadow, or glow effect.

Fields

Blur

The Length configuration for the blur of the shadow. A larger blur leads to a softer effect, whereas a smaller blur leads to a sharper effect.

Color

The color of the shadow. Darker colors create a more shadow-like effect, whereas brighter colors create a more glow-like effect.

Direction

The direction the shadow will expand as Width or Blur increases. Either In or Out.

Enabled

A flag to toggle the visibility of the shadow.

Offset

The Length2 configuration for the center offset of the shadow in its parent element's local space.

Width

The Length configuration for the width of the shadow before the Blur is applied.

Constructors

Shadow(Color, Length, Length, Length2, ShadowDirection, bool)

Constructs a new Shadow

See Also

UIBlock2D.Shadow
☀
☾
In This Article
Legal EmailContact Github
Copyright © 2022 Supernova Technologies, LLC