Summary
Initializes a new instance of the
WriteableBitmap
class.
- Namespace
- Avalonia
.Media .Imaging - Containing Type
- WriteableBitmap
Syntax
[Obsolete("Use overload taking an AlphaFormat.")]
public WriteableBitmap(PixelSize size, Vector dpi, PixelFormat? format = null)
Attributes
Type | Description |
---|---|
ObsoleteAttribute |
Parameters
Name | Type | Description |
---|---|---|
size | PixelSize | The size of the bitmap in device pixels. |
dpi | Vector | The DPI of the bitmap. |
format | PixelFormat? | The pixel format (optional). |
Return Value
Type | Description |
---|---|
void | An IWriteableBitmapImpl . |