Sets the currently used indentation width.

The value of this specifies if e.g. 2 spaces make up one indentation level or 4.

@param $indentWidth

@return $this
344143
public function setIndentWidth($indentWidth)
    {
        if (!is_null($indentWidth) &&
            (!is_int($indentWidth) || $indentWidth < 1)
        ) {
            throw new \InvalidArgumentException(
                'indentWidth needs to be null or an integer above 0'
            );
        }

        $this->indentWidth = $indentWidth;

        return $this;
    }
392918
public function setWidth($width)
    {
        if (is_int($width) === true) {
            $this->width = $width;
        } else {
            $msg = "The 'width' argument must be an integer, '" . gettype($width) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
1214890
public void setWidth(int width)
    {
        content.width = width - border.left - padding.left - padding.right - border.right;
        bounds.width = width;
        wset = true;
        updateChildSizes();
    }
637438
public function setWidth($width)
    {
        $this->width = null;
        if ($width && is_numeric($width)) {
            $width = (int) $width;
            if ($width > 0) {
                $this->width = $width;
            }
        }
    }
624869
protected function indent($offset = 0)
    {

        return $this->isPretty()
            ? str_repeat($this->options['indent_style'], ($this->level + $offset) * $this->options['indent_width'])
            : '';
    }
1131134
public function increaseBlockIndent()
    {
        if ($this->increaseBlockIndent) {
            ++$this->indentLvl;
            $this->increaseBlockIndent = false;
            \array_unshift($this->indentTypes, 'block');
        }

        return $this;
    }
510471
public void setBorderWidth(final double WIDTH) {
        if (null == borderWidth) {
            _borderWidth = Helper.clamp(0.0, 50.0, WIDTH);
            fireUpdateEvent(REDRAW_EVENT);
        } else {
            borderWidth.set(WIDTH);
        }
    }
848110
public function setSlipSize($slipWidth, $slipHeight)
    {
        $this->setSlipHeight($slipHeight);
        $this->setSlipWidth($slipWidth);

        return $this;
    }
634801
public function resizeByWidth($width)
    {
        return $this->createCloneWithResource(
            function (InterventionImage $resource) use ($width) {
                return $resource->widen($width);
            }
        );
    }
992672
public function inotn($width)
    {
        assert(is_integer($width) && $width >= 0);
        $neg = false;
        if( $this->isNeg() )
        {
            $this->negi();
            $neg = true;
        }

        for($i = 0; $i < $width; $i++)
            $this->bi = $this->bi->setbit($i, !$this->bi->testbit($i));

        return $neg ? $this->negi() : $this;
    }
916792
public void setWidth(int width) {

        if (width <= 0) {
            m_containerElement.getStyle().clearWidth();
            m_width = -1;
        } else {
            m_containerElement.getStyle().setWidth(width, Unit.PX);
            m_width = width;
        }
    }
237741
public function setIndentationLevel($value)
    {
        if ($value < 0 || (!is_string($value) && is_infinite($value))) {
            throw new Exceptions\InvalidArgumentException('The indentation level can not be negative or infinite.');
        }

        $this->indentationLevel = intval($value);

        return $this;
    }
965152
public function resizeToWidth($width)
    {
        $height = $this->getPropHeight($width);
        $this->resize($width, $height);

        return $this;
    }
1000352
public function setWrapWidth(float $wrapwidth, float $cellwidth): float
    {
        $this->wrapWidthCell = $cellwidth;
        if (strpos($this->text, "\n") !== false) {
            $this->wrapWidthRemaining = $cellwidth;
        } else {
            $this->wrapWidthRemaining = $wrapwidth;
        }

        return $this->wrapWidthRemaining;
    }
6647
public void setWidth(int width)
	{
		if (1 > width)
		{
			String _message = "The specified width ({0}) is incorrect, it must be greater or equal than 1.";
			Object[] _parameters =
			{
				new Integer(width)
			};
			throw new IllegalArgumentException(MessageFormat.format(_message, _parameters));
		}
		myWidth = width;
	}
963222
public function setFilterWidth(string $width = '180px'): ColumnInterface
    {
        $this->filter[self::FILTER_KEY_WIDTH] = $width;

        return $this;
    }
21432
public function setIndentation($indentation)
    {
        if (!is_string($indentation)) {
            throw new \InvalidArgumentException('The attribute indentation on the class Template has to be string (' . gettype($indentation) . ('object' === gettype($indentation) ? ' ' . get_class($indentation) : '') . ' given).');
        }

        $this->indentation = $indentation;

        return $this;
    }