Property | Type | Description | |
---|---|---|---|
Empty | Rectangle | ||
Empty | System.Drawing.Rectangle |
Method | Description | |
---|---|---|
Ceiling ( |
Converts a RectangleF to a Rectangle by performing a ceiling operation on all the coordinates.
|
|
Ceiling ( System value ) : System.Drawing.Rectangle | ||
Contains ( System pt ) : bool | ||
Equals ( object obj ) : bool |
Tests whether obj is a
|
|
FromLTRB ( int left, int top, int right, int bottom ) : Rectangle |
Creates a new
|
|
FromLTRB ( int left, int top, int right, int bottom ) : System.Drawing.Rectangle | ||
GetHashCode ( ) : int | ||
Inflate ( Rectangle rect, int x, int y ) : Rectangle |
Creates a
|
|
Inflate ( System rect, int x, int y ) : System.Drawing.Rectangle | ||
Inflate ( Size size ) : void |
Inflates this
|
|
Inflate ( System size ) : void | ||
Inflate ( int width, int height ) : void |
Inflates this
|
|
Intersect ( Rectangle a, Rectangle b ) : Rectangle |
Creates a rectangle that represents the intersection between a and b. If there is no intersection, null is returned.
|
|
Intersect ( System a, System b ) : System.Drawing.Rectangle | ||
Intersect ( Rectangle rect ) : void |
Creates a Rectangle that represents the intersection between this Rectangle and rect.
|
|
Intersect ( System rect ) : void | ||
IntersectsWith ( System rect ) : bool | ||
Offset ( Point pos ) : void |
Adjusts the location of this rectangle by the specified amount.
|
|
Offset ( System pos ) : void | ||
Offset ( int x, int y ) : void |
Adjusts the location of this rectangle by the specified amount.
|
|
Rectangle ( System location, System size ) | ||
Rectangle ( int x, int y, int width, int height ) | ||
Rectangle ( Point location, Size size ) : System.Diagnostics.Contracts |
Initializes a new instance of the Rectangle class with the specified location and size.
|
|
Rectangle ( int x, int y, int width, int height ) : System.Diagnostics.Contracts |
Initializes a new instance of the
|
|
Round ( RectangleF value ) : Rectangle |
Converts a RectangleF to a Rectangle by performing a round operation on all the coordinates.
|
|
Round ( System value ) : System.Drawing.Rectangle | ||
ToString ( ) : string |
Converts the attributes of this
|
|
Truncate ( RectangleF value ) : Rectangle |
Converts a RectangleF to a Rectangle by performing a truncate operation on all the coordinates.
|
|
Truncate ( System value ) : System.Drawing.Rectangle | ||
Union ( System a, System b ) : System.Drawing.Rectangle | ||
operator ( ) : bool |
Tests whether two
|
Method | Description | |
---|---|---|
Contains ( |
||
Contains ( |
||
Contains ( int x, int y ) : bool | ||
IntersectsWith ( Rectangle rect ) : bool | ||
Union ( Rectangle a, Rectangle b ) : Rectangle |
public static Ceiling ( |
||
value | ||
return |
public static Ceiling ( System value ) : System.Drawing.Rectangle | ||
value | System | |
return | System.Drawing.Rectangle |
public static FromLTRB ( int left, int top, int right, int bottom ) : Rectangle | ||
left | int | |
top | int | |
right | int | |
bottom | int | |
return | Rectangle |
public static FromLTRB ( int left, int top, int right, int bottom ) : System.Drawing.Rectangle | ||
left | int | |
top | int | |
right | int | |
bottom | int | |
return | System.Drawing.Rectangle |
public static Inflate ( Rectangle rect, int x, int y ) : Rectangle | ||
rect | Rectangle | |
x | int | |
y | int | |
return | Rectangle |
public static Inflate ( System rect, int x, int y ) : System.Drawing.Rectangle | ||
rect | System | |
x | int | |
y | int | |
return | System.Drawing.Rectangle |
public Inflate ( int width, int height ) : void | ||
width | int | |
height | int | |
return | void |
public static Intersect ( Rectangle a, Rectangle b ) : Rectangle | ||
a | Rectangle | |
b | Rectangle | |
return | Rectangle |
public static Intersect ( System a, System b ) : System.Drawing.Rectangle | ||
a | System | |
b | System | |
return | System.Drawing.Rectangle |
public Rectangle ( System location, System size ) | ||
location | System | |
size | System |
public Rectangle ( int x, int y, int width, int height ) | ||
x | int | |
y | int | |
width | int | |
height | int |
public Rectangle ( Point location, Size size ) : System.Diagnostics.Contracts | ||
location | Point | |
size | Size | |
return | System.Diagnostics.Contracts |
public Rectangle ( int x, int y, int width, int height ) : System.Diagnostics.Contracts | ||
x | int | |
y | int | |
width | int | |
height | int | |
return | System.Diagnostics.Contracts |
public static Round ( RectangleF value ) : Rectangle | ||
value | RectangleF | |
return | Rectangle |
public static Round ( System value ) : System.Drawing.Rectangle | ||
value | System | |
return | System.Drawing.Rectangle |
public static Truncate ( RectangleF value ) : Rectangle | ||
value | RectangleF | |
return | Rectangle |
public static Truncate ( System value ) : System.Drawing.Rectangle | ||
value | System | |
return | System.Drawing.Rectangle |
public static Union ( System a, System b ) : System.Drawing.Rectangle | ||
a | System | |
b | System | |
return | System.Drawing.Rectangle |