Class PointerEventArgs
Provides data for various events that report changes to a pointer point.
Namespace: Evergine.Common.Input.Pointer
Assembly: Evergine.Common.dll
Syntax
public class PointerEventArgs : EventArgs
Constructors
PointerEventArgs(long, Point)
Initializes a new instance of the PointerEventArgs class.
Declaration
public PointerEventArgs(long id, Point position)
Parameters
Type | Name | Description |
---|---|---|
long | id | The identifier of the pointer point associated with the event. |
Point | position | The position of the pointer point associated with the event. |
Properties
Id
Gets the identifier of the pointer associated with the event.
Declaration
public long Id { get; }
Property Value
Type | Description |
---|---|
long |
Position
Gets the position of the pointer associated with the event.
Declaration
public Point Position { get; }
Property Value
Type | Description |
---|---|
Point |