public function __construct($width, $height)
{
if ($height < 1 || $width < 1) {
throw new \InvalidArgumentException(sprintf('Length of either side cannot be 0 or negative, current size is %sx%s', $width, $height), 1465382619);
}
$this->width = (int) $width;
$this->height = (int) $height;
}