// 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
{
///
/// Box model.
///
[System.Runtime.Serialization.DataContractAttribute]
public class BoxModel : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Content box
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("content"), IsRequired = (true))]
public long[] Content
{
get;
set;
}
///
/// Padding box
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("padding"), IsRequired = (true))]
public long[] Padding
{
get;
set;
}
///
/// Border box
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("border"), IsRequired = (true))]
public long[] Border
{
get;
set;
}
///
/// Margin box
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("margin"), IsRequired = (true))]
public long[] Margin
{
get;
set;
}
///
/// Node width
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("width"), IsRequired = (true))]
public int Width
{
get;
set;
}
///
/// Node height
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("height"), IsRequired = (true))]
public int Height
{
get;
set;
}
///
/// Shape outside coordinates
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("shapeOutside"), IsRequired = (false))]
public CefSharp.DevTools.DOM.ShapeOutsideInfo ShapeOutside
{
get;
set;
}
}
}