[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.Effects.Flood

Class Flood

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

Builtin Flood effect.

public class Flood : Effect, IDisposable, IUnknown
Inheritance
object
Flood
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

Flood(IntPtr)

Initializes a new instance of the Flood class.

public Flood(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

Color

The color and opacity of the bitmap. This property is a ColorF. The individual values for each channel are of type FLOAT, unbounded and unitless. The effect doesn't modify the values for the channels. The RGBA values for each channel range from 0 to 1.

public ColorF Color { get; set; }

Property Value

ColorF

Methods

Create(DeviceContext)

Initializes a new instance of Flood effect.

public static Flood Create(DeviceContext context)

Parameters

context DeviceContext

Returns

Flood