1
0
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:
Oliver Vogel
2023-12-20 16:26:01 +01:00
parent 9ff8cd25ab
commit 1831a4f45e

View File

@@ -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);