src/Models/Image.php
public function getRelativeCenterY()
    {
        $pos = 50;
        if ($this->FaceCentreY > 0 && $this->OriginalHeight > 0) {
            $pos = $this->FaceCentreY / $this->OriginalHeight * 100;
            $pos = ($pos > 100 || $pos < 0) ? 50 : $pos;
        }

        return $pos;
    }
public function getRelativeCenterY()
    {
        $pos = 50;
        if ($this->FaceCentreY > 0 && $this->OriginalHeight > 0) {
            $pos = $this->FaceCentreY / $this->OriginalHeight * 100;
            $pos = ($pos > 100 || $pos < 0) ? 50 : $pos;
        }

        return $pos;
    }
public function getRelativeCenterY ( ) { $ pos = 50 ; if ( $ this -> FaceCentreY > 0 && $ this -> OriginalHeight > 0 ) { $ pos = $ this -> FaceCentreY / $ this -> OriginalHeight * 100 ; $ pos = ( $ pos > 100 || $ pos < 0 ) ? 50 : $ pos ; } return $ pos ; }
Get the Y axis for the relative center of this image

@return int
Get the Y axis for the relative center of this image