Table of Contents

Class Brush

Namespace
SharpDX.Direct2D1
Assembly
SharpDX.Direct2D1.dll
[Guid("2cd906a8-12e2-11dc-9fed-001143a055f9")]
public class Brush : Resource
Inheritance
Brush
Derived
Inherited Members

Constructors

Brush(nint)

public Brush(nint nativePtr)

Parameters

nativePtr nint

Properties

Opacity

Gets or sets the degree of opacity of this brush.

public float Opacity { get; set; }

Property Value

float

Transform

Gets or sets the transform applied to this brush.

public RawMatrix3x2 Transform { get; set; }

Property Value

RawMatrix3x2

Remarks

When the brush transform is the identity matrix, the brush appears in the same coordinate space as the render target in which it is drawn.

Operators

explicit operator Brush(nint)

public static explicit operator Brush(nint nativePtr)

Parameters

nativePtr nint

Returns

Brush