class Dimension
Dimension object, used for manipulating width and height couples
Methods
__construct(integer $width, integer $height)
|
||
integer |
getWidth()
Returns width. |
|
integer |
getHeight()
Returns height. |
|
AspectRatio |
getRatio(type $forceStandards = true)
Returns the ratio. |
Details
at line 30
public
__construct(integer $width, integer $height)
at line 45
public integer
getWidth()
Returns width.
at line 55
public integer
getHeight()
Returns height.
at line 67
public AspectRatio
getRatio(type $forceStandards = true)
Returns the ratio.