getFocusPointY() public méthode

Returns the y coordinate of the focus point.
public getFocusPointY ( ) : integer
Résultat integer
Exemple #1
0
 /**
  * Crops the given image according to the focus point defined in the file version.
  *
  * @param ImageInterface $image
  * @param FileVersion $fileVersion
  * @param array $scale
  *
  * @return ImageInterface
  */
 private function applyFocus(ImageInterface $image, FileVersion $fileVersion, array $scale)
 {
     return $this->modifyAllLayers($image, function (ImageInterface $layer) use($fileVersion, $scale) {
         return $this->focus->focus($layer, $fileVersion->getFocusPointX(), $fileVersion->getFocusPointY(), $scale['x'], $scale['y']);
     });
 }