-
Notifications
You must be signed in to change notification settings - Fork 0
InputEventWithModifiers
Home | API by Category | Complete API Index | API Compatibility
| Field | Value |
|---|---|
| Full name | Electron2D.InputEventWithModifiers |
| Namespace | Electron2D |
| Kind | class |
| Category | Input |
Base class for input events that carry keyboard modifier state.
public class Electron2D.InputEventWithModifiers : Electron2D.InputEventFromWindowThe internal platform mapper fills these booleans from the platform key modifier mask for keyboard events. Mouse events currently keep the default values until modifier state is plumbed through the event pump.
Instances are mutable and are not synchronized; use them from the input dispatch thread that owns the event.
Instances of this type are not synchronized. Access them from the thread that owns the object unless the member documentation states otherwise.
This class is available since Electron2D 0.1.0 Preview.
| Member | Kind | Summary |
|---|---|---|
AltPressed |
Property | Gets or sets whether Alt or Option was pressed when the event was generated. |
CtrlPressed |
Property | Gets or sets whether Control was pressed when the event was generated. |
MetaPressed |
Property | Gets or sets whether Meta, Command, or Windows was pressed when the event was generated. |
ShiftPressed |
Property | Gets or sets whether Shift was pressed when the event was generated. |
Electron2D.InputEventWithModifiers() |
Constructor | Initializes a new instance of the InputEventWithModifiers type. |
Kind: Property
public System.Boolean AltPressed { get; set; }Gets or sets whether Alt or Option was pressed when the event was generated.
This property follows the validation and lifetime rules of its declaring type.
The current alt pressed value.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.InputEventWithModifiers
Kind: Property
public System.Boolean CtrlPressed { get; set; }Gets or sets whether Control was pressed when the event was generated.
This property follows the validation and lifetime rules of its declaring type.
The current ctrl pressed value.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.InputEventWithModifiers
Kind: Property
public System.Boolean MetaPressed { get; set; }Gets or sets whether Meta, Command, or Windows was pressed when the event was generated.
This property follows the validation and lifetime rules of its declaring type.
The current meta pressed value.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.InputEventWithModifiers
Kind: Property
public System.Boolean ShiftPressed { get; set; }Gets or sets whether Shift was pressed when the event was generated.
This property follows the validation and lifetime rules of its declaring type.
The current shift pressed value.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.InputEventWithModifiers
Kind: Constructor
public Electron2D.InputEventWithModifiers()Initializes a new instance of the InputEventWithModifiers type.
The new instance follows the lifetime and validation rules of its declaring type.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.InputEventWithModifiers
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.