Focus::coords()
Generates crop coordinates based on focal point
Parameters
Name | Type | Default |
---|---|---|
$crop * | string |
– |
$sourceWidth * | int |
– |
$sourceHeight * | int |
– |
$width * | int |
– |
$height * | int |
– |
Return type
array
|null