diff --git a/PInvoke/Shared/WinDef/POINT.cs b/PInvoke/Shared/WinDef/POINT.cs index 1526f819..e5ac9176 100644 --- a/PInvoke/Shared/WinDef/POINT.cs +++ b/PInvoke/Shared/WinDef/POINT.cs @@ -55,8 +55,17 @@ namespace Vanara.PInvoke } } + /// Specifies the x-coordinate of the point. + [NonSerialized] + public int x { get => x; set => x = value; } + + /// Specifies the y-coordinate of the point. + [NonSerialized] + public int y { get => y; set => y = value; } + /// Gets a value indicating whether this is empty. /// if both X and Y are 0; otherwise, . + [NonSerialized] [Browsable(false)] public bool IsEmpty => X == 0 && Y == 0;