|
| | RectangleU () |
| | Initializes a new instance of the RectangleU class with default values (0, 0, 0, 0).
|
| |
| | RectangleU (uint x, uint y, uint width, uint height) |
| | Initializes a new instance of the RectangleU class with specified integer coordinates and dimensions.
|
| |
| | RectangleU (PointU point, Size size) |
| | Initializes a new instance of the Rectangle class with location and size.
|
| |
| override bool | Equals (object? obj) |
| | Determines whether the specified object is equal to the current RectangleT<TPosition,TSize>.
|
| |
| override int | GetHashCode () |
| | Returns a hash code for the current point.
|
| |
| override string | ToString () |
| | Returns a string representation of the rectangle.
|
| |
|
| TPosition | X [get] |
| | Gets or sets the X coordinate of the top-left corner of the rectangle.
|
| |
| TPosition | Y [get] |
| | Gets the Y coordinate of the top-left corner of the rectangle.
|
| |
| TSize | Width [get] |
| | Gets the width of the rectangle.
|
| |
| TSize | Height [get] |
| | Gets the height of the rectangle.
|
| |
| PointT< TPosition > | Position [get] |
| | Gets the position of the rectangle.
|
| |
| SizeT< TSize > | Size [get] |
| | Gets the size of the rectangle.
|
| |
Represents a rectangle with unsigned integer coordinates and dimensions.
- Since
- IDSImaging.Peak.Common 1.3
◆ RectangleU() [1/3]
Initializes a new instance of the RectangleU class with default values (0, 0, 0, 0).
◆ RectangleU() [2/3]
| RectangleU |
( |
uint | x, |
|
|
uint | y, |
|
|
uint | width, |
|
|
uint | height ) |
|
inline |
Initializes a new instance of the RectangleU class with specified integer coordinates and dimensions.
- Parameters
-
| x | The X coordinate of the top-left corner of the rectangle. |
| y | The Y coordinate of the top-left corner of the rectangle. |
| width | The width of the rectangle. |
| height | The height of the rectangle. |
◆ RectangleU() [3/3]
Initializes a new instance of the Rectangle class with location and size.
- Parameters
-
| point | The top-left corner of the rectangle |
| size | The size of the rectangle |
◆ Equals()
| override bool Equals |
( |
object? | obj | ) |
|
|
inlineinherited |
Determines whether the specified object is equal to the current RectangleT<TPosition,TSize>.
- Parameters
-
| obj | The object to compare with the current rectangle. |
- Returns
true if the objects are equal; otherwise, false.
◆ GetHashCode()
| override int GetHashCode |
( |
| ) |
|
|
inlineinherited |
Returns a hash code for the current point.
◆ ToString()
| override string ToString |
( |
| ) |
|
|
inlineinherited |
Returns a string representation of the rectangle.
- Returns
- A string that represents the current rectangle.
◆ Height
Gets the height of the rectangle.
◆ Position
Gets the position of the rectangle.
◆ Size
Gets the size of the rectangle.
◆ Width
Gets the width of the rectangle.
Gets or sets the X coordinate of the top-left corner of the rectangle.
Gets the Y coordinate of the top-left corner of the rectangle.