You are here

public function ImagemagickToolkit::setWidth in ImageMagick 8

Same name and namespace in other branches
  1. 8.3 src/Plugin/ImageToolkit/ImagemagickToolkit.php \Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit::setWidth()
  2. 8.2 src/Plugin/ImageToolkit/ImagemagickToolkit.php \Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit::setWidth()

Sets image width.

Parameters

int $width: The image width.

Return value

$this

File

src/Plugin/ImageToolkit/ImagemagickToolkit.php, line 764

Class

ImagemagickToolkit
Provides ImageMagick integration toolkit for image manipulation.

Namespace

Drupal\imagemagick\Plugin\ImageToolkit

Code

public function setWidth($width) {
  $this->width = $width;
  return $this;
}