Focus::ratio()
Calculates the image ratio
Focus::ratio(int $width, int $height): float
Parameters
| Name | Type | Default |
|---|---|---|
| $width * | int |
– |
| $height * | int |
– |
Return type
float
Calculates the image ratio
Focus::ratio(int $width, int $height): float
| Name | Type | Default |
|---|---|---|
| $width * | int |
– |
| $height * | int |
– |
float