Skip to main content

PointerPoint Struct

Definition​

Namespace:Avalonia.Input
Assembly:Avalonia.Base
Package:Avalonia

Provides basic properties for the input pointer associated with a single mouse, pen/stylus, or touch contact.

public struct PointerPoint

Inheritance: ValueType -> PointerPoint

Implements: IEquatable<PointerPoint>

Constructors​

NameDescription
PointerPointNo summary available.

PointerPoint Constructor​

public PointerPoint(Avalonia.Input.IPointer pointer, Avalonia.Point position, Avalonia.Input.PointerPointProperties properties)

Parameters​

pointer Avalonia.Input.IPointer

position Avalonia.Point

properties Avalonia.Input.PointerPointProperties

Methods​

NameDescription
Equals (2 overloads)No summary available.
GetHashCodeNo summary available.
ToStringNo summary available.

Equals overloads​

Equals Method​

public bool Equals(Avalonia.Input.PointerPoint other)
Parameters​

other Avalonia.Input.PointerPoint

Returns​

bool

Equals Method​

public bool Equals(object obj)
Parameters​

obj object

Returns​

bool

GetHashCode Method​

public int GetHashCode()

Returns​

int

ToString Method​

public string ToString()

Returns​

string

Properties​

NameDescription
PointerGets specific pointer generated by input device.
PositionGets the location of the pointer input in client coordinates.
PropertiesGets extended information about the input pointer.

Pointer Property​

Gets specific pointer generated by input device.

public Avalonia.Input.IPointer Pointer { get; set; }

Position Property​

Gets the location of the pointer input in client coordinates.

public Avalonia.Point Position { get; set; }

Properties Property​

Gets extended information about the input pointer.

public Avalonia.Input.PointerPointProperties Properties { get; set; }