Skip to main content

Class VelloSurfaceRenderEventArgs

Namespace: VelloSharp.Maui.Events
Assembly: VelloSharp.Maui.Core.dll

Event arguments raised after a frame has been presented. Platform-specific payloads are exposed through and .

public sealed class VelloSurfaceRenderEventArgs : EventArgs

Inheritance

objectEventArgsVelloSurfaceRenderEventArgs

Inherited Members

EventArgs.Empty, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

VelloSurfaceRenderEventArgs(TimeSpan, TimeSpan, long, double, double, object?, object?)

public VelloSurfaceRenderEventArgs(TimeSpan timestamp, TimeSpan delta, long frameId, double width, double height, object? platformContext = null, object? platformSurface = null)

Parameters

timestamp TimeSpan

delta TimeSpan

frameId long

width double

height double

platformContext object?

platformSurface object?

Properties

Delta

public TimeSpan Delta { get; }

Property Value

TimeSpan

FrameId

public long FrameId { get; }

Property Value

long

Height

public double Height { get; }

Property Value

double

PlatformContext

public object? PlatformContext { get; }

Property Value

object?

PlatformSurface

public object? PlatformSurface { get; }

Property Value

object?

Timestamp

public TimeSpan Timestamp { get; }

Property Value

TimeSpan

Width

public double Width { get; }

Property Value

double