Table of Contents

Struct PointerPoint

Namespace
Avalonia.Input
Assembly
Avalonia.Base.dll

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

public struct PointerPoint : IEquatable<PointerPoint>
Implements
Inherited Members

Constructors

PointerPoint(IPointer, Point, PointerPointProperties)

public PointerPoint(IPointer pointer, Point position, PointerPointProperties properties)

Parameters

pointer IPointer
position Point
properties PointerPointProperties

Properties

Pointer

Gets specific pointer generated by input device.

public readonly IPointer Pointer { get; }

Property Value

IPointer

Position

Gets the location of the pointer input in client coordinates.

public readonly Point Position { get; }

Property Value

Point

Properties

Gets extended information about the input pointer.

public readonly PointerPointProperties Properties { get; }

Property Value

PointerPointProperties

Methods

Equals(PointerPoint)

public readonly bool Equals(PointerPoint other)

Parameters

other PointerPoint

Returns

bool

Equals(object)

public override readonly bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override readonly int GetHashCode()

Returns

int

ToString()

public override readonly string ToString()

Returns

string

Operators

operator ==(PointerPoint, PointerPoint)

public static bool operator ==(PointerPoint left, PointerPoint right)

Parameters

left PointerPoint
right PointerPoint

Returns

bool

operator !=(PointerPoint, PointerPoint)

public static bool operator !=(PointerPoint left, PointerPoint right)

Parameters

left PointerPoint
right PointerPoint

Returns

bool