Export (0) Print
Expand All

Rectangle Methods

(see also Protected Methods )
  Name Description
Public method Static Supported by the .NET Compact Framework Ceiling Converts the specified RectangleF structure to a Rectangle structure by rounding the RectangleF values to the next higher integer values.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Contains Overloaded. Determines if the specified point is contained within the rectangular region defined by this Rectangle.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Overloaded. Overridden. Determines whether the specified object equals this Rectangle object.
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework FromLTRB Creates a Rectangle structure with the specified edge locations.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode Overridden. Returns the hash code for this Rectangle structure. For information about the use of hash codes, see GetHashCode .
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Inflate Overloaded. Inflates a Rectangle structure by the specified amount.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Intersect Overloaded. Determines the Rectangle structure that represents the intersection of two rectangles.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework IntersectsWith Determines if this rectangle intersects with rect.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Offset Overloaded. Adjusts the location of this rectangle by the specified amount.
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework op_Equality Tests whether two Rectangle structures have equal location and size.
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework op_Inequality Tests whether two Rectangle structures differ in location or size.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Static Supported by the .NET Compact Framework Round Converts the specified RectangleF to a Rectangle by rounding the RectangleF values to the nearest integer values.
Public method Supported by the .NET Compact Framework ToString Overridden. Converts the attributes of this Rectangle to a human-readable string.
Public method Static Supported by the .NET Compact Framework Truncate Converts the specified RectangleF to a Rectangle by truncating the RectangleF values.
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework Union Gets a Rectangle structure that contains the union of two Rectangle structures.
Top

  Name Description
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

Community Additions

ADD
Show:
© 2014 Microsoft