Dimension
Dimension class holds width and height for an icon
Table of Contents
Properties
Methods
- __construct() : mixed
- getHeight() : int
- getWidth() : int
Properties
$height
protected
int
$height
$width
protected
int
$width
Methods
__construct()
public
__construct([IconSize $size = IconSize::MEDIUM ]) : mixed
Parameters
- $size : IconSize = IconSize::MEDIUM
Tags
getHeight()
public
getHeight() : int
Return values
intgetWidth()
public
getWidth() : int