Метод | Описание | |
---|---|---|
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 |
Результат |