Eventviva\ImageResize::getDestHeight PHP 메소드

getDestHeight() 공개 메소드

Gets height of the destination image
public getDestHeight ( ) : integer
리턴 integer
    public function getDestHeight()
    {
        return $this->dest_h;
    }

Usage Example

예제 #1
0
 public function testCropLargerNotAllowed()
 {
     $image = $this->createImage(200, 100, 'png');
     $resize = new ImageResize($image);
     $resize->crop(500, 500);
     $this->assertEquals(200, $resize->getDestWidth());
     $this->assertEquals(100, $resize->getDestHeight());
 }