Skip to main content

ILockedFramebuffer Interface

Definition​

Assembly:Avalonia.Base
Package:Avalonia
public interface ILockedFramebuffer

Implements: IDisposable

Properties​

NameDescription
AddressAddress of the first pixel
AlphaFormatGets the alpha format.
DpiDPI of underling screen
FormatPixel format
RowBytesNumber of bytes per row
SizeGets the framebuffer size in device pixels.

Address Property​

Address of the first pixel

public IntPtr Address { get; set; }

AlphaFormat Property​

Gets the alpha format.

public Avalonia.Platform.AlphaFormat AlphaFormat { get; set; }

Dpi Property​

DPI of underling screen

public Avalonia.Vector Dpi { get; set; }

Format Property​

Pixel format

public Avalonia.Platform.PixelFormat Format { get; set; }

RowBytes Property​

Number of bytes per row

public int RowBytes { get; set; }

Size Property​

Gets the framebuffer size in device pixels.

public Avalonia.PixelSize Size { get; set; }