Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Neos
Media
Domain
Model
ImageInterface
getAspectRatio
Neos\Media\Domain\Model\ImageInterface::getAspectRatio PHP 메소드
ImageInterface 0 문서
파일 보기
프로젝트 열기: neos/neos-development-collection
getAspectRatio()
공개
메소드
Edge / aspect ratio of the image
public
getAspectRatio
(
boolean
$respectOrientation
= false ) :
float
$respectOrientation
boolean
If false (the default), orientation is disregarded and always a value >= 1 is returned (like usual in "4 / 3" or "16 / 9")
리턴
float
public function getAspectRatio($respectOrientation = false);
ImageInterface
getAspectRatio
getHeight
getOrientation
getWidth
isOrientationLandscape
isOrientationPortrait
isOrientationSquare