SceneGaussianBlurPrimitive Class

A primitive that blurs its input: feGaussianBlur of SVG.

public sealed class SceneGaussianBlurPrimitive : SceneFilterPrimitive
Inheritance
SceneFilterPrimitive SceneGaussianBlurPrimitive

Constructors

NameDescription
SceneGaussianBlurPrimitive(double)Initializes a new instance of the SceneGaussianBlurPrimitive class with the same standard deviation along both axes.
SceneGaussianBlurPrimitive(double, double)Initializes a new instance of the SceneGaussianBlurPrimitive class.

SceneGaussianBlurPrimitive overloads

SceneGaussianBlurPrimitive(double)

SceneGaussianBlurPrimitive.cs

Initializes a new instance of the SceneGaussianBlurPrimitive class with the same standard deviation along both axes.

public SceneGaussianBlurPrimitive(double standardDeviation)
Parameters
standardDeviation double
The standard deviation of the blur: stdDeviation. 0 does not blur.
Exceptions
ArgumentException
standardDeviation is not a finite number.
ArgumentOutOfRangeException
standardDeviation is negative.

SceneGaussianBlurPrimitive(double, double)

SceneGaussianBlurPrimitive.cs

Initializes a new instance of the SceneGaussianBlurPrimitive class.

public SceneGaussianBlurPrimitive(double standardDeviationX, double standardDeviationY)
Parameters
standardDeviationX double
The standard deviation of the blur along x. 0 does not blur along x.
standardDeviationY double
The standard deviation of the blur along y. 0 does not blur along y.
Exceptions
ArgumentException
A standard deviation is not a finite number.
ArgumentOutOfRangeException
A standard deviation is negative.

Properties

NameDescription
EdgeModeGets what the blur reads beyond the edges of its input: edgeMode. The default is SceneFilterEdgeMode.None.
InputGets the input: in.
StandardDeviationXGets the standard deviation of the blur along x.
StandardDeviationYGets the standard deviation of the blur along y.

Gets what the blur reads beyond the edges of its input: edgeMode. The default is SceneFilterEdgeMode.None.

public SceneFilterEdgeMode EdgeMode { get; init; }

Property value

SceneFilterEdgeMode

Exceptions

ArgumentOutOfRangeException
The value is not a defined SceneFilterEdgeMode.

Gets the input: in.

public SceneFilterInput Input { get; init; }

Property value

SceneFilterInput

Gets the standard deviation of the blur along x.

public double StandardDeviationX { get; }

Property value

double

Gets the standard deviation of the blur along y.

public double StandardDeviationY { get; }

Property value

double