AspectRatio
final class AspectRatio (View source)
Constants
ORIENTATION_LANDSCAPE |
|
ORIENTATION_PORTRAIT |
|
ORIENTATION_SQUARE |
|
Methods
__construct(int $width, int $height)
No description
static AspectRatio
fromString(string $ratio)
No description
int
getWidth()
No description
int
getHeight()
No description
float
getRatio()
No description
string
getOrientation()
No description
bool
isOrientationLandscape()
No description
bool
isOrientationPortrait()
No description
bool
isOrientationSquare()
No description
string
__toString()
No description
Details
__construct(int $width, int $height)
No description
static AspectRatio
fromString(string $ratio)
No description
int
getWidth()
No description
int
getHeight()
No description
float
getRatio()
No description
string
getOrientation()
No description
bool
isOrientationLandscape()
No description
bool
isOrientationPortrait()
No description
bool
isOrientationSquare()
No description
string
__toString()
No description