Summary
Creates a writeable bitmap implementation.
- Namespace
- Avalonia
.Platform - Containing Type
- I
Platform Render Interface
Syntax
IWriteableBitmapImpl CreateWriteableBitmap(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 | Pixel format. |
alphaFormat | AlphaFormat | Alpha format . |
Return Value
Type | Description |
---|---|
IWriteableBitmapImpl | An IWriteableBitmapImpl . |