Export (0) Print
Expand All

Rectangle Properties

The Rectangle type exposes the following members.

  Name Description
Public property Supported by the XNA Framework Bottom Gets the y-coordinate that is the sum of the Y and Height property values of this Rectangle structure.
Public property Supported by the XNA Framework Height Gets or sets the height of this Rectangle structure.
Public property Supported by the XNA Framework IsEmpty Tests whether all numeric properties of this Rectangle have values of zero.
Public property Supported by the XNA Framework Left Gets the x-coordinate of the left edge of this Rectangle structure.
Public property Location Gets or sets the coordinates of the upper-left corner of this Rectangle structure.
Public property Supported by the XNA Framework Right Gets the x-coordinate that is the sum of X and Width property values of this Rectangle structure.
Public property Size Gets or sets the size of this Rectangle.
Public property Supported by the XNA Framework Top Gets the y-coordinate of the top edge of this Rectangle structure.
Public property Supported by the XNA Framework Width Gets or sets the width of this Rectangle structure.
Public property Supported by the XNA Framework X Gets or sets the x-coordinate of the upper-left corner of this Rectangle structure.
Public property Supported by the XNA Framework Y Gets or sets the y-coordinate of the upper-left corner of this Rectangle structure.
Top
Show:
© 2015 Microsoft