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