PeachDrawing.Core
PeachDrawing.Core
BlurEffect Class
Blurs the layer with a Gaussian of the given standard deviations.
public sealed record BlurEffect : PeachDrawing.Core.LayerEffect, System.IEquatable<PeachDrawing.Core.BlurEffect>
Inheritance System.Object → LayerEffect → BlurEffect
Implements System.IEquatable<BlurEffect>
| Constructors | |
|---|---|
| BlurEffect(double) | A blur with the same standard deviation in both directions. |
| BlurEffect(double, double) | Blurs the layer with a Gaussian of the given standard deviations. |
| Properties | |
|---|---|
| ClampEdges | Whether the pixels at the edge of the layer’s content are held out past it, so the blur does not fade toward the edge. False (the default) lets the blur spread past the content into transparency, which is what a blurred shape wants; true is for a layer whose content fills its bounds and continues beyond them, such as the backdrop behind a panel. |
| SigmaX | the horizontal standard deviation |
| SigmaY | the vertical standard deviation |