public function ImageFocusEntropy::getFocalPoint in Image Focus Crop 8
Get focal point.
Return value
array Array of points.
File
- src/
lib/ ImageFocusEntropy.php, line 118
Class
- ImageFocusEntropy
- Class ImageFocusEntropy.
Namespace
Drupal\image_focus\libCode
public function getFocalPoint() {
if (!isset($this->cx)) {
$this
->calculateFocalPoint();
}
return [
$this->cx,
$this->cy,
];
}