메소드 | 설명 | |
---|---|---|
CenterWithin ( |
||
Clone ( ) : Object | ||
Equals ( |
Tests whether the System.Drawing.Rectangle structure has the same location and size of this System.Drawing.Rectangle structure.
|
|
Equals ( object obj ) : bool |
Tests whether obj is a System.Drawing.Rectangle structure with the same location and size of this System.Drawing.Rectangle structure.
|
|
GetHashCode ( ) : int | ||
Inflate ( |
Enlarges this System.Drawing.Rectangle by the specified amount.
|
|
Inflate ( int width, int height ) : void |
Enlarges this System.Drawing.Rectangle by the specified amount.
|
|
Offset ( Point pos ) : void |
Adjusts the location of this rectangle by the specified amount.
|
|
Offset ( int x, int y ) : void |
Adjusts the location of this rectangle by the specified amount.
|
|
Rectangle ( Point location, |
Initializes a new instance of the System.Drawing.Rectangle class with the specified location and size.
|
|
Rectangle ( int x, int y, int width, int height ) : System |
Initializes a new instance of the System.Drawing.Rectangle class with the specified location and size.
|
|
ToString ( ) : string |
public CenterWithin ( |
||
container | ||
리턴 | Point |
public Inflate ( |
||
size | The amount to inflate this System.Drawing.Rectangle | |
리턴 | void |
public Inflate ( int width, int height ) : void | ||
width | int | The amount to inflate this System.Drawing.Rectangle horizontally. |
height | int | The amount to inflate this System.Drawing.Rectangle vertically. |
리턴 | void |
public Offset ( int x, int y ) : void | ||
x | int | The horizontal offset. |
y | int | The vertical offset. |
리턴 | void |
public Rectangle ( Point location, |
||
location | Point | A System.Drawing.Point that represents the upper-left corner of the rectangular region. |
size | A System.Drawing.Size that represents the width and height of the rectangular region. | |
리턴 | System |
public Rectangle ( int x, int y, int width, int height ) : System | ||
x | int | The x-coordinate of the upper-left corner of the rectangle. |
y | int | The y-coordinate of the upper-left corner of the rectangle. |
width | int | The width of the rectangle. |
height | int | The height of the rectangle. |
리턴 | System |