// 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 { /// /// Representing a draggable region. /// public struct DraggableRegion { /// /// Width /// public int Width { get; private set; } /// /// Height /// public int Height { get; private set; } /// /// X coordinate /// public int X { get; private set; } /// /// Y coordinate /// public int Y { get; private set; } /// /// Is this region draggable /// public bool Draggable { get; private set; } /// /// Creates a new DraggableRegion /// /// width /// height /// x coordinate /// y coordinate /// is draggable? public DraggableRegion(int width, int height, int x, int y, bool draggable) : this() { Width = width; Height = height; X = x; Y = y; Draggable = draggable; } } }