// Copyright © 2010-2017 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
{
///
/// 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; }
public Rect(int x, int y, int width, int height)
: this()
{
X = x;
Y = y;
Width = width;
Height = height;
}
}
}