![]() | SingleRect Structure |
Namespace: Patagames.Pdf.Net.Controls
The SingleRect type exposes the following members.
Name | Description | |
---|---|---|
![]() | SingleRect(SinglePoint, SingleSize) |
Initializes a new instance of the SingleRect class with the specified location and size.
|
![]() | SingleRect(Double, Double, Double, Double) |
Initializes a new instance of an SingleRect with the specified X and Y coordinates and the pecified Width and Height.
|
Name | Description | |
---|---|---|
![]() | Bottom |
Gets the y-coordinate of the bottom edge of this SingleRect structure.
|
![]() ![]() | Empty |
Gets the empty rectangle, a special value that represents a rectangle with no position or area.
|
![]() | Height |
Gets or sets the height of the rectangle.
|
![]() | IsEmpty |
Gets a value indicating whether the rectangle is empty.
|
![]() | Left |
Gets the x-coordinate of the left edge of this SingleRect structure.
|
![]() | Location |
Gets or sets the coordinates of the upper-left corner of this Rectangle structure.
|
![]() | Right |
Gets the x-coordinate of the right edge of this SingleRect structure.
|
![]() | Size |
Gets or sets the size of this Rectangle.
|
![]() | Top |
Gets the y-coordinate of the top edge of this SingleRect structure.
|
![]() | Width |
Gets or sets the width of the rectangle.
|
![]() | X |
Gets or sets the x-coordinate of the top-left corner of the rectangle.
|
![]() | Y |
Gets or sets the y-coordinate of the top-left corner of the rectangle.
|
Name | Description | |
---|---|---|
![]() | Contains |
Determines if the specified point is contained within the rectangular region defined by this SingleRect.
|
![]() | Equals(Object) |
Determines whether the specified rectangle is equal to this rectangle.
(Overrides ValueTypeEquals(Object).) |
![]() | Equals(SingleRect) |
Determines whether the specified rectangle is equal to this rectangle.
|
![]() ![]() | Equals(SingleRect, SingleRect) |
Determines whether the specified rectangles are equal.
|
![]() | GetHashCode |
Creates a hash code from this rectangle's X, Y, Width, and Height values.
(Overrides ValueTypeGetHashCode.) |
![]() | Intersect |
Finds the intersection of the current rectangle and the specified rectangle, and stores the result as the current rectangle.
|
![]() | IntersectsWith |
Determines if this rectangle intersects with rect.
|
![]() | ToInt32Rect |
Convert this instance of SingleRect to Int32Rect.
|
Name | Description | |
---|---|---|
![]() ![]() | Equality |
Compares two rectangles for exact equality.
|
![]() ![]() | Inequality |
Compares two rectangles for inequality.
|