Rectangle.IsEmpty Property
Gets a value that indicates whether the Rectangle is empty.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public bool IsEmpty { get; }
Property Value
true if the rectangle is empty, otherwise false.
Remarks
An empty rectangle has all its values set to 0.
See Also
Reference
Rectangle Structure
Rectangle Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone