mirror of
https://github.com/Intervention/image.git
synced 2025-08-01 11:30:16 +02:00
Add width & height setters in EllipseFactory
This commit is contained in:
@@ -25,6 +25,20 @@ class EllipseFactory
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function width(int $width): self
|
||||
{
|
||||
$this->ellipse->setWidth($width);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function height(int $height): self
|
||||
{
|
||||
$this->ellipse->setHeight($height);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function background(mixed $color): self
|
||||
{
|
||||
$this->ellipse->setBackgroundColor($color);
|
||||
|
Reference in New Issue
Block a user