메소드 | 설명 | |
---|---|---|
CanHold ( |
Can this rectangle hold the subject rectangle
|
|
EnsureFit ( |
Resizes this rectangle to fit inside a target rectangle
|
|
Match ( |
Resizes the rectangle to match the target rectangle on the shortest side
|
|
Ratio ( |
The ratio between this rectangle and a target rectangle
|
|
Rectangle ( int width, int height ) : System |
Initializes a new Rectangle object with a set width and height
|
|
Resize ( double ratio ) : |
Resizes this rectangle by a ratio
|
public CanHold ( |
||
subject | The rectangle to compare to | |
리턴 | bool |
public EnsureFit ( |
||
target | The target rectangle | |
리턴 |
public Match ( |
||
target | The target rectangle | |
리턴 |
public Ratio ( |
||
target | The rectangle to compare to | |
리턴 | double |
public Rectangle ( int width, int height ) : System | ||
width | int | The width |
height | int | The height |
리턴 | System |
public Resize ( double ratio ) : |
||
ratio | double | The ratio to resize the rectangle by |
리턴 |