Method Calculate
Calculate(double, Rectangle, Rectangle, bool)
Declaration
public Rectangle Calculate(double desiredAspectRatio, Rectangle currentBounds, Rectangle initialBounds, bool prioritizeHeight = true)
Parameters
| Type | Name | Description |
|---|---|---|
| double | desiredAspectRatio | |
| Rectangle | currentBounds | |
| Rectangle | initialBounds | |
| bool | prioritizeHeight |
Returns
| Type | Description |
|---|---|
| Rectangle |