mirror of
https://github.com/Intervention/image.git
synced 2025-08-13 17:34:04 +02:00
Add method to SizeInterface
This commit is contained in:
@@ -16,4 +16,5 @@ interface SizeInterface
|
|||||||
public function isPortrait(): bool;
|
public function isPortrait(): bool;
|
||||||
public function alignPivot(string $position, int $offset_x = 0, int $offset_y = 0): SizeInterface;
|
public function alignPivot(string $position, int $offset_x = 0, int $offset_y = 0): SizeInterface;
|
||||||
public function alignPivotTo(SizeInterface $size, string $position): SizeInterface;
|
public function alignPivotTo(SizeInterface $size, string $position): SizeInterface;
|
||||||
|
public function contain(int $width, int $height): SizeInterface;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user