Structure using the same layout than System.Drawing.RectangleF
More...
Structure using the same layout than System.Drawing.RectangleF
Definition at line 11 of file RectangleF.cs.
Initializes a new instance of the RectangleF struct.
- Parameters
-
position | The x-y position of this rectangle. |
size | The x-y size of this rectangle. |
Definition at line 18 of file RectangleF.cs.
VRageMath.RectangleF.RectangleF |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
width, |
|
|
float |
height |
|
) |
| |
|
inline |
Initializes a new instance of the RectangleF struct.
- Parameters
-
x | The x. |
y | The y. |
width | The width. |
height | The height. |
Definition at line 31 of file RectangleF.cs.
bool VRageMath.RectangleF.Contains |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
inline |
bool VRageMath.RectangleF.Contains |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
|
inline |
bool VRageMath.RectangleF.Contains |
( |
Vector2 |
vector2D | ) |
|
|
inline |
bool VRageMath.RectangleF.Contains |
( |
Point |
point | ) |
|
|
inline |
bool VRageMath.RectangleF.Equals |
( |
RectangleF |
other | ) |
|
|
inline |
Determines whether the specified System.Object is equal to this instance.
- Parameters
-
obj | The System.Object to compare with this instance. |
- Returns
true
if the specified System.Object is equal to this instance; otherwise, false
.
Definition at line 127 of file RectangleF.cs.
override bool VRageMath.RectangleF.Equals |
( |
object |
obj | ) |
|
|
inline |
override int VRageMath.RectangleF.GetHashCode |
( |
| ) |
|
|
inline |
Creates a Rectangle defining the area where one rectangle overlaps with another rectangle.
- Parameters
-
value1 | The first Rectangle to compare. |
value2 | The second Rectangle to compare. |
result | [OutAttribute] The area where the two first parameters overlap. |
Definition at line 138 of file RectangleF.cs.
Implements the operator !=.
- Parameters
-
left | The left. |
right | The right. |
- Returns
- The result of the operator.
Definition at line 208 of file RectangleF.cs.
Implements the operator ==.
- Parameters
-
left | The left. |
right | The right. |
- Returns
- The result of the operator.
Definition at line 195 of file RectangleF.cs.
override string VRageMath.RectangleF.ToString |
( |
| ) |
|
|
inline |
Vector2 VRageMath.RectangleF.Position |
float VRageMath.RectangleF.Height |
|
getset |
float VRageMath.RectangleF.Width |
|
getset |
float VRageMath.RectangleF.X |
|
getset |
float VRageMath.RectangleF.Y |
|
getset |
The documentation for this struct was generated from the following file: