Skip to content

Enum ShadowLayers

Definition

Namespace: StardewUI.Widgets
Assembly: StardewUI.dll

Describes which shadow layers will be drawn, for widgets such as Label that support layered shadows.

[System.Flags]
public enum ShadowLayers

Inheritance
ObjectValueTypeEnum ⇦ ShadowLayers

Fields

Name Value Description
None 0 No layers; the shadow will not be drawn.
Diagonal 1 Diagonal shadow layer, with both a horizontal and vertical offset from the content.
Horizontal 2 Horizontal shadow layer, using only the horizontal offset from content and ignoring vertical offset.
HorizontalAndDiagonal 3 Combination of Horizontal and Diagonal layers.
Vertical 4 Vertical shadow layer, using only the vertical offset from content and ignoring horizontal offset.
VerticalAndDiagonal 5 Combination of Vertical and Diagonal layers.
HorizontalAndVertical 6 Combination of Horizontal and Vertical layers.
All 7 Includes all individual shadow layers.