Skip to content

Commit 785c533

Browse files
committed
Add support for "-strokewidth"
1 parent 73dded8 commit 785c533

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Command.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,17 @@ public function stroke(string $color): self
528528
return $this;
529529
}
530530

531+
/**
532+
* @see http://imagemagick.org/script/command-line-options.php#strokewidth
533+
*/
534+
public function strokeWidth(int $strokeWidth): self
535+
{
536+
$this->command[] = '-strokewidth';
537+
$this->command[] = (string) $strokeWidth;
538+
539+
return $this;
540+
}
541+
531542
/* ------------------------------------------ *
532543
* End of ImageMagick native options. *
533544
* Want more? Some options are missing? *

0 commit comments

Comments
 (0)