Свойство | Тип | Описание | |
---|---|---|---|
Empty |
Метод | Описание | |
---|---|---|
Contains ( |
Contains Method Checks if a Point lies within this RectangleF. |
|
Contains ( |
Contains Method Checks if a RectangleF lies entirely within this RectangleF. |
|
Contains ( float x, float y ) : bool |
Contains Method Checks if an x,y coordinate lies within this RectangleF. |
|
Equals ( object obj ) : bool |
Equals Method Checks equivalence of this RectangleF and an object. |
|
FromLTRB ( float left, float top, float right, float bottom ) : |
FromLTRB Shared Method Produces a RectangleF structure from left, top, right, and bottom coordinates. |
|
GetHashCode ( ) : int |
GetHashCode Method Calculates a hashing value. |
|
Inflate ( |
Inflate Shared Method Produces a new RectangleF by inflating an existing RectangleF by the specified coordinate values. |
|
Inflate ( |
Inflate Method Inflates the RectangleF by a specified Size. |
|
Inflate ( float x, float y ) : void |
Inflate Method Inflates the RectangleF by a specified width and height. |
|
Intersect ( |
Intersect Shared Method Produces a new RectangleF by intersecting 2 existing RectangleFs. Returns null if there is no intersection. |
|
Intersect ( |
Intersect Method Replaces the RectangleF with the intersection of itself and another RectangleF. |
|
IntersectsWith ( |
IntersectsWith Method Checks if a RectangleF intersects with this one. |
|
Offset ( |
Offset Method Moves the RectangleF a specified distance. |
|
Offset ( float x, float y ) : void |
Offset Method Moves the RectangleF a specified distance. |
|
RectangleF ( |
RectangleF Constructor Creates a RectangleF from PointF and SizeF values. |
|
RectangleF ( float x, float y, float width, float height ) : System |
RectangleF Constructor Creates a RectangleF from a specified x,y location and width and height values. |
|
ToString ( ) : string |
ToString Method Formats the RectangleF in (x,y,w,h) notation. |
|
Union ( |
Union Shared Method Produces a new RectangleF from the union of 2 existing RectangleFs. |
|
operator ( ) : bool |
Equality Operator Compares two RectangleF objects. The return value is based on the equivalence of the Location and Size properties of the two RectangleFs. |
Метод | Описание | |
---|---|---|
IntersectsWithInclusive ( |
public Contains ( |
||
rect | ||
Результат | bool |
public Contains ( float x, float y ) : bool | ||
x | float | |
y | float | |
Результат | bool |
public static FromLTRB ( float left, float top, float right, float bottom ) : |
||
left | float | |
top | float | |
right | float | |
bottom | float | |
Результат |
public static Inflate ( |
||
rect | ||
x | float | |
y | float | |
Результат |
public static Intersect ( |
||
a | ||
b | ||
Результат |
public Intersect ( |
||
rect | ||
Результат | void |
public IntersectsWith ( |
||
rect | ||
Результат | bool |
public RectangleF ( |
||
location | ||
size | ||
Результат | System |
public RectangleF ( float x, float y, float width, float height ) : System | ||
x | float | |
y | float | |
width | float | |
height | float | |
Результат | System |
public static Union ( |
||
a | ||
b | ||
Результат |