From 785c533933536a29d74993ecbc02b878338ed48d Mon Sep 17 00:00:00 2001 From: Alex Rock Ancelet Date: Thu, 7 Mar 2019 12:53:37 +0100 Subject: [PATCH] Add support for "-strokewidth" --- Command.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Command.php b/Command.php index 0e7fc5a..e3bc095 100644 --- a/Command.php +++ b/Command.php @@ -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? *