// Copyright © 2020 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.DevTools.DOM
{
///
/// Rectangle.
///
[System.Runtime.Serialization.DataContractAttribute]
public class Rect : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// X coordinate
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("x"), IsRequired = (true))]
public long X
{
get;
set;
}
///
/// Y coordinate
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("y"), IsRequired = (true))]
public long Y
{
get;
set;
}
///
/// Rectangle width
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("width"), IsRequired = (true))]
public long Width
{
get;
set;
}
///
/// Rectangle height
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("height"), IsRequired = (true))]
public long Height
{
get;
set;
}
}
}