mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-14 08:51:27 +08:00
d4cbc6d4e0
* refactor: rename `HtmlElement` property case * rename the directory name for overlay * add element component
32 lines
734 B
C#
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; }
|
|
}
|
|
}
|