Rectangle.ToString Method (Microsoft.Xna.Framework)

Returns a System.String representation of this Rectangle in the format: {X:[X] Y:[Y] Width:[Width] Height:[Height]}

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.341)
  • C#
  • VB
  • F#
public string ToString()

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Return Value

Type: System.String
System.String representation of this Rectangle.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web