Rectangle.IsEmpty Property (Microsoft.Xna.Framework)

Whether or not this Rectangle has a Width and Height of 0, and a Location of (0, 0).

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public bool IsEmpty { get; }

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Property Value

Type: System.Boolean
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop