SceneDropShadowFilter Class

A shadow drawn under the element: its shape, blurred, moved and filled with a color, as the feDropShadow of SVG.

public sealed class SceneDropShadowFilter : SceneFilter
Inheritance
SceneFilter SceneDropShadowFilter

Constructors

NameDescription
SceneDropShadowFilter(double, double, double, SceneColor)A shadow drawn under the element: its shape, blurred, moved and filled with a color, as the feDropShadow of SVG.

SceneDropShadowFilter(double, double, double, SceneColor)

SceneDropShadowFilter.cs

A shadow drawn under the element: its shape, blurred, moved and filled with a color, as the feDropShadow of SVG.

public SceneDropShadowFilter(double offsetX, double offsetY, double standardDeviation, SceneColor color)

Parameters

offsetX double
The horizontal offset of the shadow, in the coordinates of the parent of the element.
offsetY double
The vertical offset of the shadow, in the coordinates of the parent of the element.
standardDeviation double
The standard deviation of the blur of the shadow: 0 for a sharp shadow.
color SceneColor
The color of the shadow; its alpha is multiplied by the alpha of the element.

Properties

NameDescription
ColorGets the color of the shadow.
OffsetXGets the horizontal offset of the shadow.
OffsetYGets the vertical offset of the shadow.
StandardDeviationGets the standard deviation of the blur of the shadow.

Gets the color of the shadow.

public SceneColor Color { get; }

Property value

SceneColor

Gets the horizontal offset of the shadow.

public double OffsetX { get; }

Property value

double

Gets the vertical offset of the shadow.

public double OffsetY { get; }

Property value

double

StandardDeviation

SceneDropShadowFilter.cs

Gets the standard deviation of the blur of the shadow.

public double StandardDeviation { get; }

Property value

double