public function setWidth(int $width = \null)
    {
        if (\null !== $width && $width < 0) {
            throw new \InvalidArgumentException('Width must not be negative.');
        }

        $this->width = $width;

        return $this;
    }