# \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

File
  Image/ImageSize.php
Package
  Default
Class hierarchy
  \IZON\Thumber\Image\ImageSize
Implements
  \IZON\Thumber\Image\IImageSize

## Tags

author | lukas

## Properties

### $width

    $width :

#### Type

#

## Tags

None found

### $height

    $height :

#### Type

#

## Tags

None found

## Methods

### getAspectRatio()

    getAspectRatio() : float

return height/width

#### Returns

float

#

## Tags

None found

### getHeight()

    getHeight() : integer

return height.

#### Returns

integer

#

## Tags

None found

### getWidth()

    getWidth() : integer

return width.

#### Returns

integer

#

## Tags

None found

### create()

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

#### Parameters

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

#

static

## Tags

None found

### createFromWidth()

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

#### Parameters

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

#

static

## Tags

None found

### createFromHeight()

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

#### Parameters

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

#

static

## Tags

None found

### __construct()

    __construct()

#

## Tags

None found

### ImageSize.php