SceneDropShadowPrimitive Class
A primitive that draws its input over its shadow: feDropShadow of SVG.
public sealed class SceneDropShadowPrimitive : SceneFilterPrimitive- Inheritance
SceneFilterPrimitiveSceneDropShadowPrimitive
Constructors
| Name | Description |
|---|---|
| SceneDropShadowPrimitive(double, double, double, double, SceneColor) | Initializes a new instance of the SceneDropShadowPrimitive class. |
SceneDropShadowPrimitive(double, double, double, double, SceneColor)
SceneDropShadowPrimitive.csInitializes a new instance of the SceneDropShadowPrimitive class.
public SceneDropShadowPrimitive(double offsetX, double offsetY, double standardDeviationX, double standardDeviationY, SceneColor color)Parameters
offsetXdouble- The offset of the shadow along x:
dx. offsetYdouble- The offset of the shadow along y:
dy. standardDeviationXdouble- The standard deviation of the blur of the shadow along x:
stdDeviation. standardDeviationYdouble- The standard deviation of the blur of the shadow along y.
colorSceneColor- The color of the shadow:
flood-colorandflood-opacity.
Exceptions
ArgumentException- An offset or a standard deviation is not a finite number.
ArgumentOutOfRangeException- A standard deviation is negative.
Properties
| Name | Description |
|---|---|
| Color | Gets the color of the shadow. |
| Input | Gets the input: in. |
| OffsetX | Gets the offset of the shadow along x. |
| OffsetY | Gets the offset of the shadow along y. |
| StandardDeviationX | Gets the standard deviation of the blur of the shadow along x. |
| StandardDeviationY | Gets the standard deviation of the blur of the shadow along y. |