Table of Contents

Class BitmapBrush1

Namespace
SharpDX.Direct2D1
Assembly
SharpDX.Direct2D1.dll
[Guid("41343a53-e41a-49a2-91cd-21793bbb62e5")]
public class BitmapBrush1 : BitmapBrush
Inheritance
BitmapBrush1
Inherited Members

Constructors

BitmapBrush1(DeviceContext, Bitmap1)

Creates an BitmapBrush from the specified bitmap.

public BitmapBrush1(DeviceContext deviceContext, Bitmap1 bitmap)

Parameters

deviceContext DeviceContext

an instance of DeviceContext

bitmap Bitmap1

The bitmap contents of the new brush.

BitmapBrush1(DeviceContext, Bitmap1, BitmapBrushProperties1)

Creates an BitmapBrush from the specified bitmap.

public BitmapBrush1(DeviceContext deviceContext, Bitmap1 bitmap, BitmapBrushProperties1 bitmapBrushProperties)

Parameters

deviceContext DeviceContext

an instance of DeviceContext

bitmap Bitmap1

The bitmap contents of the new brush.

bitmapBrushProperties BitmapBrushProperties1

The extend modes and interpolation mode of the new brush, or NULL. If this parameter is NULL, the brush defaults to the Clamp horizontal and vertical extend modes and the Linear interpolation mode.

BitmapBrush1(DeviceContext, Bitmap1, BrushProperties)

Creates an BitmapBrush from the specified bitmap.

public BitmapBrush1(DeviceContext deviceContext, Bitmap1 bitmap, BrushProperties brushProperties)

Parameters

deviceContext DeviceContext

an instance of DeviceContext

bitmap Bitmap1

The bitmap contents of the new brush.

brushProperties BrushProperties

The opacity and transform of the new brush, or NULL. If this parameter is NULL, the brush defaults to an opacity of 1.0f and its transform is the identity matrix.

BitmapBrush1(DeviceContext, Bitmap1, BitmapBrushProperties1?, BrushProperties?)

Creates an BitmapBrush from the specified bitmap.

public BitmapBrush1(DeviceContext deviceContext, Bitmap1 bitmap, BitmapBrushProperties1? bitmapBrushProperties, BrushProperties? brushProperties)

Parameters

deviceContext DeviceContext

an instance of DeviceContext

bitmap Bitmap1

The bitmap contents of the new brush.

bitmapBrushProperties BitmapBrushProperties1?

The extend modes and interpolation mode of the new brush, or NULL. If this parameter is NULL, the brush defaults to the Clamp horizontal and vertical extend modes and the Linear interpolation mode.

brushProperties BrushProperties?

The opacity and transform of the new brush, or NULL. If this parameter is NULL, the brush defaults to an opacity of 1.0f and its transform is the identity matrix.

BitmapBrush1(nint)

public BitmapBrush1(nint nativePtr)

Parameters

nativePtr nint

Properties

InterpolationMode1

Returns or sets the current interpolation mode of the brush.

public InterpolationMode InterpolationMode1 { get; set; }

Property Value

InterpolationMode

Operators

explicit operator BitmapBrush1(nint)

public static explicit operator BitmapBrush1(nint nativePtr)

Parameters

nativePtr nint

Returns

BitmapBrush1