Skip to main content

Struct WinitEventArgs

Namespace: VelloSharp
Assembly: VelloSharp.Gpu.dll

public readonly struct WinitEventArgs

Inherited Members

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

Properties

AccessKitActionJson

public string? AccessKitActionJson { get; }

Property Value

string?

AccessKitEventKind

public WinitAccessKitEventKind AccessKitEventKind { get; }

Property Value

WinitAccessKitEventKind

DeltaX

public double DeltaX { get; }

Property Value

double

DeltaY

public double DeltaY { get; }

Property Value

double

ElementState

public WinitElementState ElementState { get; }

Property Value

WinitElementState

Height

public uint Height { get; }

Property Value

uint

KeyCode

public uint KeyCode { get; }

Property Value

uint

KeyCodeName

public string? KeyCodeName { get; }

Property Value

string?

KeyLocation

public WinitKeyLocation KeyLocation { get; }

Property Value

WinitKeyLocation

Kind

public WinitEventKind Kind { get; }

Property Value

WinitEventKind

Modifiers

public WinitModifiers Modifiers { get; }

Property Value

WinitModifiers

MouseButton

public WinitMouseButton MouseButton { get; }

Property Value

WinitMouseButton

MouseButtonValue

public uint MouseButtonValue { get; }

Property Value

uint

MouseX

public double MouseX { get; }

Property Value

double

MouseY

public double MouseY { get; }

Property Value

double

Repeat

public bool Repeat { get; }

Property Value

bool

ScaleFactor

public double ScaleFactor { get; }

Property Value

double

ScrollDeltaKind

public WinitMouseScrollDeltaKind ScrollDeltaKind { get; }

Property Value

WinitMouseScrollDeltaKind

StartCause

public WinitStartCause StartCause { get; }

Property Value

WinitStartCause

Text

public string? Text { get; }

Property Value

string?

TouchId

public ulong TouchId { get; }

Property Value

ulong

TouchPhase

public WinitTouchPhaseKind TouchPhase { get; }

Property Value

WinitTouchPhaseKind

Width

public uint Width { get; }

Property Value

uint

Methods

TryGetWindow()

public WinitWindow? TryGetWindow()

Returns

WinitWindow?