共用方式為


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

Programming Guide

Math Overview

Platforms

Xbox 360, Windows XP SP2, Windows Vista