[]
Creates an BitmapBrush from the specified bitmap.
public static BitmapBrush1 Create(DeviceContext deviceContext, Bitmap1 bitmap)
Type | Name | Description |
---|---|---|
DeviceContext | deviceContext | an instance of DeviceContext |
Bitmap1 | bitmap | The bitmap contents of the new brush. |
Type | Description |
---|---|
BitmapBrush1 |
Creates an BitmapBrush from the specified bitmap.
public static BitmapBrush1 Create(DeviceContext deviceContext, Bitmap1 bitmap, BitmapBrushProperties1 bitmapBrushProperties)
Type | Name | Description |
---|---|---|
DeviceContext | deviceContext | an instance of DeviceContext |
Bitmap1 | bitmap | The bitmap contents of the new brush. |
BitmapBrushProperties1 | bitmapBrushProperties | 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. |
Type | Description |
---|---|
BitmapBrush1 |
Creates an BitmapBrush from the specified bitmap.
public static BitmapBrush1 Create(DeviceContext deviceContext, Bitmap1 bitmap, BrushProperties brushProperties)
Type | Name | Description |
---|---|---|
DeviceContext | deviceContext | an instance of DeviceContext |
Bitmap1 | bitmap | 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. |
Type | Description |
---|---|
BitmapBrush1 |
Creates an BitmapBrush from the specified bitmap.
public static BitmapBrush1 Create(DeviceContext deviceContext, Bitmap1 bitmap, BitmapBrushProperties1? bitmapBrushProperties, BrushProperties? brushProperties)
Type | Name | Description |
---|---|---|
DeviceContext | deviceContext | an instance of DeviceContext |
Bitmap1 | bitmap | The bitmap contents of the new brush. |
BitmapBrushProperties1? | bitmapBrushProperties | 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. |
Type | Description |
---|---|
BitmapBrush1 |