Property | Type | Description | |
---|---|---|---|
Height | float | ||
Width | float | ||
X | float | ||
Y | float |
Method | Description | |
---|---|---|
Contains ( Point value ) : bool |
Determines whether this RectangleF contains a specified Point.
|
|
Contains ( |
Determines whether this Rectangle entirely contains a specified Rectangle.
|
|
Contains ( |
Determines whether this RectangleF entirely contains a specified RectangleF.
|
|
Contains ( Vector2 value ) : bool |
Determines whether this RectangleF contains a specified point represented by a floating point vector.
|
|
Contains ( float x, float y ) : bool |
Determines whether this RectangleF contains a specified point represented by its X- and Y-coordinates.
|
|
Equals ( |
Determines whether the specified Object is equal to the Rectangle.
|
|
Equals ( |
Determines whether the specified Object is equal to the RectangleF.
|
|
Equals ( object obj ) : bool |
Returns a value that indicates whether the current instance is equal to a specified object.
|
|
GetHashCode ( ) : int |
Gets the hash code for this object.
|
|
Inflate ( float horizontalAmount, float verticalAmount ) : void |
Pushes the edges of the Rectangle out by the horizontal and vertical values specified.
|
|
Intersects ( |
Determines whether a specified Rectangle intersects with this RectangleF.
|
|
Intersects ( |
Determines whether a specified Rectangle intersects with this RectangleF.
|
|
RectangleF ( float x, float y, float width, float height ) : System |
Initializes a new instance of Rectangle.
|
|
ToString ( ) : string |
Retrieves a string representation of the current object.
|
|
ToString ( IFormatProvider formatter ) : string |
Retrieves a string representation of the current object.
|
|
operator ( ) : bool |
Compares two rectangles for inequality.
|
public Contains ( Point value ) : bool | ||
value | Point | The Point to evaluate. |
return | bool |
public Contains ( |
||
value | The Rectangle to evaluate. | |
return | bool |
public Contains ( |
||
value | The RectangleF to evaluate. | |
return | bool |
public Contains ( Vector2 value ) : bool | ||
value | Vector2 | The Vector2 to evaluate. |
return | bool |
public Contains ( float x, float y ) : bool | ||
x | float | The x-coordinate of the specified point. |
y | float | The y-coordinate of the specified point. |
return | bool |
public Equals ( |
||
other | The Object to compare with the current Rectangle. | |
return | bool |
public Equals ( |
||
other | The Object to compare with the current RectangleF. | |
return | bool |
public Equals ( object obj ) : bool | ||
obj | object | Object to make the comparison with. |
return | bool |
public Inflate ( float horizontalAmount, float verticalAmount ) : void | ||
horizontalAmount | float | Value to push the sides out by. |
verticalAmount | float | Value to push the top and bottom out by. |
return | void |
public Intersects ( |
||
value | The Rectangle to evaluate. | |
return | bool |
public Intersects ( |
||
value | The RectangleF to evaluate. | |
return | bool |
public RectangleF ( float x, float y, float width, float height ) : System | ||
x | float | The x-coordinate of the rectangle. |
y | float | The y-coordinate of the rectangle. |
width | float | Width of the rectangle. |
height | float | Height of the rectangle. |
return | System |
public ToString ( IFormatProvider formatter ) : string | ||
formatter | IFormatProvider | |
return | string |