Share via


Overview | Fields | ThisPackage | All Packages

OverviewFieldsThisPackageAll Packages

Rectangle Methods

Constructors Description
Rectangle Creates a Rectangle object.
Methods Description
contains Retrieves a boolean value that indicates whether this rectangle contains the specified rectangle or points.
equals Retrieves a boolean value that indicates whether the specified object is identical to this rectangle.
getBottom Retrieves the lowest point in the rectangle's y-axis.
getConstructorArgs Retrieves the ConstructorArgs needed to persist this object.
getExtension Retrieves the recommended file extension for files that persist this object.
getRight Retrieves the rightmost point on the rectangle's x-axis.
hashCode Retrieves a hash code value for this object.
inflate Inflates this rectangle by the specified amount.
intersect Retrieves a Rectangle object that represents the intersecting area of two specified rectangles.
intersectsWith Retrieves a boolean value that indicates whether the specified rectangle intersects with this one.
offset Adjusts the location of the rectangle by the specified amount.
save Saves this object's settings to a data stream.
setBounds Sets the size and location of this object.
toRECT Retrieves a Win32 RECT structure that contains the settings of a Rectangle object.
toString Retrieves a String representation of this object.
union Retrieves a Rectangle object that represents the smallest rectangle that contains two specified rectangular areas.