Class D2D1BitmapBrush
A bitmap brush allows a bitmap to be used to fill a geometry.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.D2D1
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
[SecurityCritical]
public class D2D1BitmapBrush : D2D1Brush, IDisposable
Constructors
| Edit this page View SourceD2D1BitmapBrush(nint)
Initializes a new instance of the D2D1BitmapBrush class.
Declaration
public D2D1BitmapBrush(nint comPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | comPtr |
Fields
| Edit this page View SourceD2D1BitmapBrushGuid
The interface GUID.
Declaration
public static readonly Guid D2D1BitmapBrushGuid
Field Value
| Type | Description |
|---|---|
| Guid |
Properties
| Edit this page View SourceBitmap
Gets or sets the bitmap source that this brush uses to paint.
Declaration
public D2D1Bitmap Bitmap { get; set; }
Property Value
| Type | Description |
|---|---|
| D2D1Bitmap |
ExtendModeX
Gets or sets the method by which the brush horizontally tiles those areas that extend past its bitmap.
Declaration
public D2D1ExtendMode ExtendModeX { get; set; }
Property Value
| Type | Description |
|---|---|
| D2D1ExtendMode |
ExtendModeY
Gets or sets the method by which the brush vertically tiles those areas that extend past its bitmap.
Declaration
public D2D1ExtendMode ExtendModeY { get; set; }
Property Value
| Type | Description |
|---|---|
| D2D1ExtendMode |
InterpolationMode
Gets or sets the interpolation method used when the brush bitmap is scaled or rotated.
Declaration
public D2D1BitmapInterpolationMode InterpolationMode { get; set; }
Property Value
| Type | Description |
|---|---|
| D2D1BitmapInterpolationMode |