\IZON\Thumber\ImageImageSize

Description of ImageSize

Summary

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

Methods

getAspectRatio()

getAspectRatio() : 

return aspecr ratio of image height/width.

Returns

getHeight()

getHeight() : 

return height.

Returns

getWidth()

getWidth() : 

return width.

Returns

create()

create(int  width, int  height) : \IZON\Thumber\Image\IZON\Thumber\Image\ImageSize

Parameters

int width
int height

Returns

\IZON\Thumber\Image\IZON\Thumber\Image\ImageSize

createFromWidth()

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

Parameters

int width
float aspectRatio

Returns

\IZON\Thumber\Image\IZON\Thumber\Image\ImageSize

createFromHeight()

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

Parameters

int height
float aspectRatio

Returns

\IZON\Thumber\Image\IZON\Thumber\Image\ImageSize