Rectangle Class |
Namespace: DotNetBrowser.Geometry
public sealed class Rectangle
The Rectangle type exposes the following members.
Name | Description | |
---|---|---|
![]() | Rectangle(Point, Size) |
Initializes a new instance of the Rectangle class with the specified origin and
size.
|
![]() | Rectangle(Int32, Int32, UInt32, UInt32) |
Initializes a new instance of the Rectangle class with the specified parameters.
|
Name | Description | |
---|---|---|
![]() | IsEmpty |
Indicates whether all numeric properties of this Rectangle have values of zero.
|
![]() | Origin |
Gets the top-left corner coordinate of the rectangle.
|
![]() | Size |
Gets the rectangle dimensions.
|
Name | Description | |
---|---|---|
![]() | Center |
Calculates the center of this rectangle.
|
![]() | Contains(Point) |
Checks whether the rectangle contains the specified point.
|
![]() | Contains(Rectangle) |
Checks whether the rectangle contains the specified rectangle.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Overrides ObjectEquals(Object).) |
![]() | GetHashCode | Serves as the default hash function. (Overrides ObjectGetHashCode.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Overrides ObjectToString.) |