Added RECT.Empty field

pull/83/head
David Hall 2019-10-01 17:51:05 -06:00
parent 03344e7e77
commit cdefc7b3dc
1 changed files with 3 additions and 0 deletions

View File

@ -186,6 +186,9 @@ namespace Vanara.PInvoke
/// <summary>Returns a <see cref="string"/> that represents this instance.</summary>
/// <returns>A <see cref="string"/> that represents this instance.</returns>
public override string ToString() => $"{{left={left},top={top},right={right},bottom={bottom}}}";
/// <summary>Represents an empty instance where all values are set to 0.</summary>
public static readonly RECT Empty = new RECT();
}
/// <summary>Defines the coordinates of the upper-left and lower-right corners of a rectangle.</summary>