[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.Effects.OpacityMetadata

Class OpacityMetadata

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

Builtin Opacity metadata effect.

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

OpacityMetadata(IntPtr)

Initializes a new instance of the OpacityMetadata class.

public OpacityMetadata(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

OpaqueRect

The portion of the source image that is opaque. The default is the entire input image.

public Vector4 OpaqueRect { get; set; }

Property Value

Vector4

Methods

Create(DeviceContext)

Initializes a new instance of OpacityMetadata effect.

public static OpacityMetadata Create(DeviceContext context)

Parameters

context DeviceContext

Returns

OpacityMetadata