ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
ScottPlot.Interactivity.KeyboardState Class Reference

Tracks which keyboard keys are currently pressed. More...

Public Member Functions

void Reset ()
 
void Add (Key key)
 
void Remove (Key key)
 
bool IsPressed (Key key)
 
bool IsPressed (IEnumerable< Key > keys)
 
bool IsPressed (string keyName)
 
override string ToString ()
 

Properties

int PressedKeyCount [get]
 
string[] GetPressedKeyNames [get]
 

Detailed Description

Tracks which keyboard keys are currently pressed.

Member Function Documentation

◆ Add()

void ScottPlot.Interactivity.KeyboardState.Add ( Key  key)
inline

◆ IsPressed() [1/3]

bool ScottPlot.Interactivity.KeyboardState.IsPressed ( IEnumerable< Key keys)
inline

◆ IsPressed() [2/3]

bool ScottPlot.Interactivity.KeyboardState.IsPressed ( Key  key)
inline

◆ IsPressed() [3/3]

bool ScottPlot.Interactivity.KeyboardState.IsPressed ( string  keyName)
inline

◆ Remove()

void ScottPlot.Interactivity.KeyboardState.Remove ( Key  key)
inline

◆ Reset()

void ScottPlot.Interactivity.KeyboardState.Reset ( )
inline

◆ ToString()

override string ScottPlot.Interactivity.KeyboardState.ToString ( )
inline

Property Documentation

◆ GetPressedKeyNames

string [] ScottPlot.Interactivity.KeyboardState.GetPressedKeyNames
get

◆ PressedKeyCount

int ScottPlot.Interactivity.KeyboardState.PressedKeyCount
get

The documentation for this class was generated from the following file: