1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-28 16:19:50 +02:00

add getBoxSize() as abstract method

This commit is contained in:
Tom Witkowski
2017-09-14 15:44:08 +02:00
committed by GitHub
parent 4581c28cdc
commit 240e08c13a

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