[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.Effects.DisplacementMap

Class DisplacementMap

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

Builtin DisplacementMap effect.

public class DisplacementMap : Effect, IDisposable, IUnknown
Inheritance
DisplacementMap
Implements
Inherited Members

Constructors

DisplacementMap(IntPtr)

Initializes a new instance of the DisplacementMap class.

public DisplacementMap(IntPtr nativePtr)

Parameters

nativePtr IntPtr

The native pointer.

Properties

Scale

Multiplies the intensity of the selected channel from the displacement image. The higher you set this property, the more the effect displaces the pixels

public float Scale { get; set; }

Property Value

float

XChannelSelect

The effect extracts the intensity from this color channel and uses it to spatially displace the image in the X direction. See Color channels for more info.

public ChannelSelector XChannelSelect { get; set; }

Property Value

ChannelSelector

YChannelSelect

The effect extracts the intensity from this color channel and uses it to spatially displace the image in the Y direction. See Color channels for more info.

public ChannelSelector YChannelSelect { get; set; }

Property Value

ChannelSelector

Methods

Create(DeviceContext)

Initializes a new instance of DisplacementMap effect.

public static DisplacementMap Create(DeviceContext context)

Parameters

context DeviceContext

Returns

DisplacementMap