\IZON\Thumber\ImageImageSize

Description of ImageSize

Summary

Methods
Properties
Constants
getAspectRatio()
getHeight()
getWidth()
create()
createFromWidth()
createFromHeight()
No public properties found
No constants found
__construct()
$width
$height
N/A
No private methods found
No private properties found
N/A

Properties

$width

$width : 

Type

$height

$height : 

Type

Methods

getAspectRatio()

getAspectRatio() : float

return height/width

Returns

float

getHeight()

getHeight() : integer

return height.

Returns

integer

getWidth()

getWidth() : integer

return width.

Returns

integer

create()

create(\IZON\Thumber\Image\int  $width, \IZON\Thumber\Image\int  $height) 

Parameters

\IZON\Thumber\Image\int $width
\IZON\Thumber\Image\int $height

createFromWidth()

createFromWidth(\IZON\Thumber\Image\int  $width, \IZON\Thumber\Image\float  $aspectRatio) 

Parameters

\IZON\Thumber\Image\int $width
\IZON\Thumber\Image\float $aspectRatio

createFromHeight()

createFromHeight(\IZON\Thumber\Image\int  $height, \IZON\Thumber\Image\float  $aspectRatio) 

Parameters

\IZON\Thumber\Image\int $height
\IZON\Thumber\Image\float $aspectRatio

__construct()

__construct()