public function setHeight($height)
    {
        if (!is_null($height)) {
            if (intval($height) < 0) {
                throw new \InvalidArgumentException(sprintf('Invalid height: %d', $height));
            }

            $this->height = $height;
        } else {
            $this->height = null;
        }

        return $this;
    }