ShadowStyle

Description

struct Tinman.Engine.GUI.Styles.ShadowStyle

Represents the style for drawing shadows.

Public / Constants

Default


public static readonly attribute Default → (ShadowStyle)

The default shadow style.

Offset = 1
Opacity = 96

None


public static readonly attribute None → (ShadowStyle)

No shadow.

Offset = 0
Opacity = 0

Public / Constructors

ShadowStyle


public constructor ShadowStyle → (2)

offset in : int32

[>=0]
The shadow offset, in pixels.

opacity in : int32

[0..255]
The shadow opacity.

Creates a new instance of ShadowStyle.

Public / Attributes

Color


public attribute Color → (get)

value : int64

The 64-bit ARGB shadow color.

The shadow color.

Offset


public readonly attribute Offset → (int32)

The shadow offset, in pixels.

Opacity


public readonly attribute Opacity → (int32)

The shadow opacity between [0..255].