Provides context information for user interaction operations.

Members

MemberKindDescription
SKPoint MousePositionPropertyGets or sets the current mouse position.
int MouseButtonPropertyGets or sets the mouse button that was pressed.
int ModifiersPropertyGets or sets modifier keys that were pressed during the interaction.
bool IsControlPressedPropertyGets a value indicating whether the Control key was pressed during the interaction.
bool IsShiftPressedPropertyGets a value indicating whether the Shift key was pressed during the interaction.
bool IsAltPressedPropertyGets a value indicating whether the Alt key was pressed during the interaction.
SKRect BoundsPropertyGets the visible bounds for interaction checking.
Dictionary<string, object> DataPropertyGets or sets additional context data.

Related