MouseEventArgs Constructor |
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public MouseEventArgs(
MouseButtons buttons,
Keys modifiers,
PointF location,
Nullable<SizeF> delta = null,
float pressure = 1f
)
Public Sub New (
buttons As MouseButtons,
modifiers As Keys,
location As PointF,
Optional delta As Nullable(Of SizeF) = Nothing,
Optional pressure As Single = 1F
)
new :
buttons : MouseButtons *
modifiers : Keys *
location : PointF *
?delta : Nullable<SizeF> *
?pressure : float32
(* Defaults:
let _delta = defaultArg delta null
let _pressure = defaultArg pressure 1f
*)
-> MouseEventArgs
Parameters
- buttons
- Type: Eto.FormsMouseButtons
Buttons involved in the event. - modifiers
- Type: Eto.FormsKeys
Key modifiers such as Control, Alt, or Shift. - location
- Type: Eto.DrawingPointF
Location of the mouse cursor for the event. - delta (Optional)
- Type: SystemNullableSizeF
Delta of the scroll wheel. - pressure (Optional)
- Type: SystemSingle
Pressure of a stylus or touch, if applicable. 1.0f for full pressure or not supported
See Also