GOA - System.Drawing.Rectangle

Rectangle Class


Stores the location and size of a rectangular region with ineteger parameters. This class cannot be inherited.

Definition

public sealed class Rectangle: Object

Members Table

MethodDescription
CeilingConverts the specified RectangleF object to a Rectangle object by rounding the RectangleF values to the next higher integer values.
ContainsOverloaded. Determines if the specified point or rectangular region is contained within the rectangular region defined by this Rectangle.
EqualsOverloaded. Compares two objects to determine if they are equal.
FromLTRBCreates a Rectangle object with the specified edge locations.
GetHashCodeOverriden. Returns the hash code for this Rectangle object.
GetTypeGets the Type of the current instance. (Inherited from Object)
InflateOverloaded. Inflates a rectangular region by a specified amount.
IntersectOverloaded. Returns a Rectangle object that represents the intersection of two rectangles. If there is no intersection, null is returned.
IntersectsWithDetermines if this rectangle intersects with a specified Rectangle.
OffsetOverloaded. Adjusts the location of this rectangle by the specified amount.
RectangleOverloaded. Initializes a new instance of Rectangle.
ReferenceEqualsDetermines whether the specified Object instances are the same instance. (Inherited from Object)
RoundConverts the specified RectangleF to a Rectangle by rounding the RectangleF values to the nearest integer values.
ToStringOverriden. Converts the attributes of this Rectangle to a human-readable string.
TruncateConverts the specified RectangleF to a Rectangle by truncating the RectangleF values.
UnionGets a Rectangle object that contains the union of two Rectangle objects.
PropertyDescription
BottomGets the y-coordinate of the bottom edge of this Rectangle object.
EmptyRepresents a Rectangle object with its properties left uninitialized.
HeightGets or sets the height of this Rectangle object.
IsEmptyGets a value indicating whether all numeric properties of this Rectangle have values of zero.
LeftGets the x-coordinate of the left edge of this Rectangle object.
LocationGets or sets the coordinates of the upper-left corner of this Rectangle object.
RightGets the x-coordinate of the right edge of this Rectangle object.
SizeGets or sets the size of this Rectangle.
TopGets the y-coordinate of the top edge of this Rectangle object.
WidthGets or sets the width of this Rectangle object.
XGets or sets the horizontal coordinate of the upper-left corner of this Rectangle object.
YGets or sets the vertcial coordinate of the upper-left corner of this Rectangle object.
OperatorDescription
operator !=Tests whether two Rectangle objects differ in location or size.
operator ==Tests whether two Rectangle objects have equal location and size.

Inheritance Hierarchy

Object
Rectangle

Class Information

NamespaceSystem.Drawing
Flash LibrarySystem.Drawing.scl
Flash Library Version2.0.0.1291
Silverlight LibrarySystem.Windows.Forms.dll



© 2003-2007 NETiKA Technologies. All rights reserved.