Skip to content

Commit

Permalink
Add support for "-strokewidth"
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierstoval committed Mar 7, 2019
1 parent 73dded8 commit 785c533
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,17 @@ public function stroke(string $color): self
return $this;
}

/**
* @see http://imagemagick.org/script/command-line-options.php#strokewidth
*/
public function strokeWidth(int $strokeWidth): self
{
$this->command[] = '-strokewidth';
$this->command[] = (string) $strokeWidth;

return $this;
}

/* ------------------------------------------ *
* End of ImageMagick native options. *
* Want more? Some options are missing? *
Expand Down

0 comments on commit 785c533

Please sign in to comment.