1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-19 04:01:30 +02:00

Merge pull request #1 from Gummibeer/patch-2

add getBoxSize() as abstract method
This commit is contained in:
Tom Witkowski
2017-09-14 15:44:37 +02:00
committed by GitHub

View File

@@ -62,6 +62,13 @@ abstract class AbstractFont
* @return boolean
*/
abstract public function applyToImage(Image $image, $posx = 0, $posy = 0);
/**
* Calculates bounding box of current font setting
*
* @return array
*/
abstract public function getBoxSize();
/**
* Create a new instance of Font