CapturedFrame(Int32, TimeSpan, Int32, Int32, Int32, PixelFormat, Byte[], Vector) Constructor

Definition

Assembly HeadlessTestingFramework.dll

Creates a new captured frame.

public CapturedFrame(int frameNumber, TimeSpan timestamp, int width, int height, int stride, PixelFormat pixelFormat, byte[] pixelData, Vector dpi)

Parameters

frameNumber
Int32

The frame number.

timestamp
TimeSpan

The capture timestamp.

width
Int32

Frame width in pixels.

height
Int32

Frame height in pixels.

stride
Int32

Bytes per row.

pixelFormat
PixelFormat

The pixel format.

pixelData
Byte[]

The raw pixel data.

dpi
Avalonia.Vector

The DPI vector.