[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.Effects.Shadow

Class Shadow

Namespace
GrapeCity.Documents.DX.Direct2D.Effects
Assembly
GcDocs.DX.Windows.dll

Builtin Shadow effect.

public class Shadow : Effect, IDisposable, IUnknown
Inheritance
object
Shadow
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

Shadow(IntPtr)

Initializes a new instance of the Shadow class.

public Shadow(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

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

float

Color

The color of the drop shadow. This property is a ColorF defined as: (R, G, B, A).

public ColorF Color { get; set; }

Property Value

ColorF

Optimization

The level of performance optimization.

public ShadowOptimization Optimization { get; set; }

Property Value

ShadowOptimization

Methods

Create(DeviceContext)

Initializes a new instance of Shadow effect.

public static Shadow Create(DeviceContext context)

Parameters

context DeviceContext

Returns

Shadow