Focus::ratio()
Calculates the image ratio
Focus::ratio(int $width, int $height): float
Parameters
| Name | Type | Default |
|---|---|---|
| $widthrequired | int |
no default value |
| $heightrequired | int |
no default value |
Return type
float
Calculates the image ratio
Focus::ratio(int $width, int $height): float
| Name | Type | Default |
|---|---|---|
| $widthrequired | int |
no default value |
| $heightrequired | int |
no default value |
float