IPlatformRenderInterface.

CreateWriteableBitmap(PixelSize, Vector, PixelFormat, AlphaFormat) Method

Summary

Creates a writeable bitmap implementation.
Namespace
Avalonia.Platform
Containing Type
IPlatformRenderInterface

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