ResultRectangle
Last updated
Was this helpful?
Last updated
Was this helpful?
Similar to System.Drawing.Rectangle, but is a Reference Type (not a Value Type as the System.Drawing.Rectangle). Keep in mind that because of that any modification to a ResultRectangle will affect all references to it.
ResultRectangle offers almost all members of System.Drawing.Rectangle, see there for details. Additionally it exposes the following members:
Name
Description
RectFrom2Points
static method to construct a ResultRectangle formed by 2 corner . Order of the points does not matter. e.g:
var myRect = ResultRectangle.RectFrom2Points(point1, point2)
Name
Description
BottomLeft
The bottom left of the rectangle.
BottomRight
The bottom right of the rectangle.
Middle
The middle of the rectangle.
TopLeft
The top left of the rectangle (corresponds to )
TopRight
The top right of the rectangle.