Partager via


Rectangle Structure

Defines a rectangle.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

[TypeConverterAttribute("typeof(Microsoft.Xna.Framework.Design.RectangleConverter)")]
[SerializableAttribute]
public struct Rectangle : IEquatable<Rectangle>

See Also

Reference

Rectangle Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone