PeachDrawing.Core
PeachDrawing.Core
DropShadowEffect Class
Draws a blurred, offset, single-colour copy of the layer’s shape underneath it.
public sealed record DropShadowEffect : PeachDrawing.Core.LayerEffect, System.IEquatable<PeachDrawing.Core.DropShadowEffect>
Inheritance System.Object → LayerEffect → DropShadowEffect
Implements System.IEquatable<DropShadowEffect>
| Constructors | |
|---|---|
| DropShadowEffect(double, double, double, double, PaintColor) | Draws a blurred, offset, single-colour copy of the layer’s shape underneath it. |
| Properties | |
|---|---|
| Color | the shadow’s colour; its alpha scales the shadow |
| OffsetX | how far the shadow is moved to the right |
| OffsetY | how far the shadow is moved down |
| SigmaX | the horizontal standard deviation of the shadow’s blur |
| SigmaY | the vertical standard deviation of the shadow’s blur |