1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-22 13:32:56 +02:00

Add text method to ImageInterface

This commit is contained in:
Oliver Vogel
2022-07-08 17:42:50 +02:00
parent 6092ec113f
commit a24240acff

View File

@@ -21,6 +21,7 @@ interface ImageInterface extends Traversable, Countable
public function toGif(): EncodedImage;
public function toPng(): EncodedImage;
public function pickColors(int $x, int $y): CollectionInterface;
public function text(string $text, int $x, int $y, ?callable $init = null): ImageInterface;
public function pickColor(int $x, int $y, int $frame_key = 0): ?ColorInterface;
public function greyscale(): ImageInterface;
public function blur(int $amount = 5): ImageInterface;