Class D2D1Brush
The root brush interface. All brushes can be used to fill or pen a geometry.
Inheritance
D2D1Brush
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.D2D1
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
[SecurityCritical]
public class D2D1Brush : D2D1Resource, IDisposable
Constructors
| Edit this page View SourceD2D1Brush(nint)
Initializes a new instance of the D2D1Brush class.
Declaration
public D2D1Brush(nint comPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | comPtr |
Fields
| Edit this page View SourceD2D1BrushGuid
The interface GUID.
Declaration
public static readonly Guid D2D1BrushGuid
Field Value
| Type | Description |
|---|---|
| Guid |
Properties
| Edit this page View SourceOpacity
Gets or sets the degree of opacity of this brush.
Declaration
public float Opacity { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Transform
Gets or sets the transform applied to this brush.
Declaration
public D2D1Matrix3X2F Transform { get; set; }
Property Value
| Type | Description |
|---|---|
| D2D1Matrix3X2F |