Shadow
A drop shadow behind a view.
- Kind: Record struct
- Namespace: SkeleKit
- Implements:
IEquatable<Shadow>
Constructors
A shadow offset straight down, in the default shadow color.
| Parameter | Summary |
|---|---|
double opacity | The shadow intensity from 0.0 to 1.0. |
double radius | The blur radius of the shadow edges. |
(optional) double offsetY | The vertical displacement of the shadow. |
Initializes a new instance of the Shadow struct.
| Parameter | Summary |
|---|---|
double Opacity | The shadow intensity from 0.0 (invisible) to 1.0 (fully opaque). |
double Radius | The blur radius of the shadow edges. |
double OffsetX | The horizontal displacement of the shadow. |
double OffsetY | The vertical displacement of the shadow. |
Color? Color | The color of the shadow, or null to use the system default. |
Properties
Color
The color of the shadow, or null to use the system default.
Type: Color?
OffsetX
The horizontal displacement of the shadow.
Type: double
OffsetY
The vertical displacement of the shadow.
Type: double
Opacity
The shadow intensity from 0.0 (invisible) to 1.0 (fully opaque).
Type: double
Radius
The blur radius of the shadow edges.
Type: double