Summary
Initializes a new instance of the
WriteableBitmap
class.
- Namespace
- Avalonia
.Media .Imaging - Containing Type
- WriteableBitmap
Syntax
public WriteableBitmap(PixelSize size, Vector dpi, PixelFormat format, AlphaFormat alphaFormat)
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). |
alphaFormat | AlphaFormat | The alpha format (optional). |
Return Value
Type | Description |
---|---|
void | An IWriteableBitmapImpl . |