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