Property | Type | Description | |
---|---|---|---|
Empty | Rectangle | ||
MaxX | double | ||
MaxY | double | ||
MinX | double | ||
MinY | double |
Method | Description | |
---|---|---|
Contains ( value ) : bool |
Determines whether this rectangle entirely contains a specified rectangle.
|
|
Contains ( Poly2Tri.Vector2 vector2D ) : bool |
Checks, if specified Vector2F is inside RectangleF.
|
|
Contains ( double x, double y ) : bool |
Checks, if specified point is inside RectangleF.
|
|
Contains ( &value, bool &result ) : void |
Determines whether this rectangle entirely contains a specified rectangle.
|
|
Contains ( Vector2 &value, bool &result ) : void |
Determines whether this rectangle contains a specified Point.
|
|
Encapsulate ( p ) : void |
Expands the rectangle as needed so that the given point falls within it's bounds.
|
|
Encapsulate ( Vector2 p ) : void |
Expands the rectangle as needed so that the given point falls within it's bounds.
|
|
Equals ( &other ) : bool |
Determines whether the specified RectangleF is equal to this instance.
|
|
Equals ( object obj ) : bool |
Determines whether the specified System.Object is equal to this instance.
|
|
GetHashCode ( ) : int |
Returns a hash code for this instance.
|
|
Intersect ( value1, value2 ) : Rectangle |
Creates a rectangle defining the area where one rectangle overlaps with another rectangle.
|
|
Intersect ( &value1, &value2, &result ) : void |
Creates a rectangle defining the area where one rectangle overlaps with another rectangle.
|
|
Intersects ( value ) : bool |
Determines whether a specified rectangle intersects with this rectangle.
|
|
Intersects ( &value, bool &result ) : void |
Determines whether a specified rectangle intersects with this rectangle.
|
|
Rectangle ( double x, double y, double width, double height ) : System |
Initializes a new instance of the RectangleF struct.
|
|
ToString ( ) : string |
Method | Description | |
---|---|---|
operator ( ) : bool |
public Contains ( value ) : bool | ||
value | The rectangle to evaluate. | |
return | bool |
public Contains ( Poly2Tri.Vector2 vector2D ) : bool | ||
vector2D | Poly2Tri.Vector2 | Coordinate |
return | bool |
public Contains ( double x, double y ) : bool | ||
x | double | X point coordinate. |
y | double | Y point coordinate. |
return | bool |
public Contains ( &value, bool &result ) : void | ||
value | The rectangle to evaluate. | |
result | bool | [OutAttribute] On exit, is true if this rectangle entirely contains the specified rectangle, or false if not. |
return | void |
public Contains ( Vector2 &value, bool &result ) : void | ||
value | Vector2 | The Point to evaluate. |
result | bool | [OutAttribute] true if the specified Point is contained within this rectangle; false otherwise. |
return | void |
public Equals ( &other ) : bool | ||
other | The |
|
return | bool |
public Equals ( object obj ) : bool | ||
obj | object | The |
return | bool |
public static Intersect ( value1, value2 ) : Rectangle | ||
value1 | The first Rectangle to compare. | |
value2 | The second Rectangle to compare. | |
return | Rectangle |
public static Intersect ( &value1, &value2, &result ) : void | ||
value1 | The first rectangle to compare. | |
value2 | The second rectangle to compare. | |
result | [OutAttribute] The area where the two first parameters overlap. | |
return | void |
public Intersects ( value ) : bool | ||
value | The rectangle to evaluate. | |
return | bool |
public Intersects ( &value, bool &result ) : void | ||
value | The rectangle to evaluate | |
result | bool | [OutAttribute] true if the specified rectangle intersects with this one; false otherwise. |
return | void |
public Rectangle ( double x, double y, double width, double height ) : System | ||
x | double | The left. |
y | double | The top. |
width | double | The width. |
height | double | The height. |
return | System |