// Copyright © 2015 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp { /// /// Struct representing a mouse event. /// public struct MouseEvent { /// /// x coordinate - relative to upper-left corner of view /// public int X { get; private set; } /// /// y coordinate - relative to upper-left corner of view /// public int Y { get; private set; } /// /// Bit flags describing any pressed modifier keys. /// public CefEventFlags Modifiers { get; private set; } /// /// Mouse Event /// /// x coordinate relative to the upper-left corner of the view. /// y coordinate relative to the upper-left corner of the view. /// modifiers public MouseEvent(int x, int y, CefEventFlags modifiers) : this() { X = x; Y = y; Modifiers = modifiers; } } }