Class D2D1BitmapBrush
A bitmap brush allows a bitmap to be used to fill a geometry.
Inherited Members
Namespace: JeremyAnsel.DirectX.D2D1
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
public sealed class D2D1BitmapBrush : D2D1Brush, IDisposable, ID2D1Releasable
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 |
Handle
Gets an handle representing the D2D1 object interface.
Declaration
public override object Handle { get; }
Property Value
Type | Description |
---|---|
object |
Overrides
| Edit this page View SourceInterpolationMode
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 |