ant-design-blazor/components/core/JsInterop/DomRect.cs

32 lines
734 B
C#
Raw Normal View History

using System.Text.Json.Serialization;
namespace AntDesign.JsInterop
2019-12-17 17:53:25 +08:00
{
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; }
2019-12-17 17:53:25 +08:00
[JsonPropertyName("top")]
public decimal Top { get; set; }
2019-12-17 17:53:25 +08:00
[JsonPropertyName("right")]
public decimal Right { get; set; }
2019-12-17 17:53:25 +08:00
[JsonPropertyName("bottom")]
public decimal Bottom { get; set; }
2019-12-17 17:53:25 +08:00
[JsonPropertyName("left")]
public decimal Left { get; set; }
2019-12-17 17:53:25 +08:00
}
}