Class Shadow
Built in Shadow effect.
public class Shadow : Effect
- Inheritance
-
Shadow
- Inherited Members
Constructors
Shadow(DeviceContext)
Initializes a new instance of Shadow effect.
public Shadow(DeviceContext context)
Parameters
context
DeviceContext
Properties
BlurStandardDeviation
The amount of blur to be applied to the alpha channel of the image. You can compute the blur radius of the kernel by multiplying the standard deviation by 3. The units of both the standard deviation and blur radius are DIPs. This property is the same as the Gaussian Blur standard deviation property.
public float BlurStandardDeviation { get; set; }
Property Value
Color
The color of the drop shadow. This property is a SharpDX.Mathematics.Interop.RawColor4 defined as: (R, G, B, A).
public RawColor4 Color { get; set; }
Property Value
- RawColor4
Optimization
The level of performance optimization.
public ShadowOptimization Optimization { get; set; }