// 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.Structs { /// /// Represents a rectangle /// public struct Rect { /// /// X coordinate /// public int X { get; private set; } /// /// Y coordinate /// public int Y { get; private set; } /// /// Width /// public int Width { get; private set; } /// /// Height /// public int Height { get; private set; } /// /// Rect /// /// x coordinate /// y coordinate /// width /// height public Rect(int x, int y, int width, int height) : this() { X = x; Y = y; Width = width; Height = height; } } }