Bitmap.

Bitmap(PixelFormat, IntPtr, PixelSize, Vector, int) Constructor

Summary

Initializes a new instance of the Bitmap class.
Namespace
Avalonia.Media.Imaging
Containing Type
Bitmap

Syntax

[Obsolete("Use overload taking an AlphaFormat.")]
public Bitmap(PixelFormat format, IntPtr data, PixelSize size, Vector dpi, int stride)

Attributes

Type Description
ObsoleteAttribute

Parameters

Name Type Description
format PixelFormat The pixel format.
data IntPtr The pointer to the source bytes.
size PixelSize The size of the bitmap in device pixels.
dpi Vector The DPI of the bitmap.
stride int The number of bytes per row.

Return Value

Type Description
void