TYPO3
7.6
|
Public Member Functions | |
__construct ($size=Icon::SIZE_DEFAULT) | |
getWidth () | |
getHeight () | |
Protected Attributes | |
$width | |
$height | |
Dimension class holds width and height for an icon
Definition at line 20 of file Dimension.php.
__construct | ( | $size = Icon::SIZE_DEFAULT | ) |
Constructor which fetches the size and resolves it to a pixel size
string | $size | the icon size |
\InvalidArgumentException |
Definition at line 39 of file Dimension.php.
References Icon\SIZE_DEFAULT, Icon\SIZE_LARGE, Icon\SIZE_OVERLAY, and Icon\SIZE_SMALL.
getHeight | ( | ) |
Returns the height
Definition at line 73 of file Dimension.php.
References Dimension\$height.
getWidth | ( | ) |
Returns the width
Definition at line 64 of file Dimension.php.
References Dimension\$width.
|
protected |
Definition at line 30 of file Dimension.php.
Referenced by Dimension\getHeight().
|
protected |
Definition at line 25 of file Dimension.php.
Referenced by Dimension\getWidth().