[]
Builtin Shadow effect.
public class Shadow : Effect, IDisposable, IUnknown
Initializes a new instance of the Shadow class.
public Shadow(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
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; }
The color of the drop shadow. This property is a ColorF defined as: (R, G, B, A).
public ColorF Color { get; set; }
The level of performance optimization.
public ShadowOptimization Optimization { get; set; }
Initializes a new instance of Shadow effect.
public static Shadow Create(DeviceContext context)
context
DeviceContext