[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.Brush

Class Brush

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

ID2D1Brush

[Guid("2cd906a8-12e2-11dc-9fed-001143a055f9")]
public class Brush : Resource, IDisposable, IUnknown
Inheritance
object
Brush
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

Brush(IntPtr)

Initializes a new instance of the Brush class.

public Brush(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

GetOpacity()

float ID2D1Brush::GetOpacity()

public float GetOpacity()

Returns

float

GetTransform()

void ID2D1Brush::GetTransform([Out] D2D_MATRIX_3X2_F* transform)

public Matrix3x2 GetTransform()

Returns

Matrix3x2

SetOpacity(float)

void ID2D1Brush::SetOpacity([In] float opacity)

public void SetOpacity(float opacity)

Parameters

opacity float

SetTransform(Matrix3x2)

void ID2D1Brush::SetTransform([In] const D2D_MATRIX_3X2_F* transform)

public void SetTransform(Matrix3x2 transform)

Parameters

transform Matrix3x2

Operators

explicit operator Brush(IntPtr)

Performs an explicit conversion from System.IntPtr to Brush.

public static explicit operator Brush(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

Brush