ant-design-blazor/components/core/JsInterop/DomRect.cs
James Yeung d4cbc6d4e0 feat: add element component (#1378)
* refactor: rename `HtmlElement` property case

* rename the directory name for overlay

* add element component
2021-04-17 22:14:01 +08:00

32 lines
734 B
C#

using System.Text.Json.Serialization;
namespace AntDesign.JsInterop
{
public class DomRect
{
[JsonPropertyName("x")]
public decimal X { get; set; }
[JsonPropertyName("y")]
public decimal Y { get; set; }
[JsonPropertyName("width")]
public decimal Width { get; set; }
[JsonPropertyName("height")]
public decimal Height { get; set; }
[JsonPropertyName("top")]
public decimal Top { get; set; }
[JsonPropertyName("right")]
public decimal Right { get; set; }
[JsonPropertyName("bottom")]
public decimal Bottom { get; set; }
[JsonPropertyName("left")]
public decimal Left { get; set; }
}
}