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:
@@ -62,6 +62,13 @@ abstract class AbstractFont
|
|||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
abstract public function applyToImage(Image $image, $posx = 0, $posy = 0);
|
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
|
* Create a new instance of Font
|
||||||
|
Reference in New Issue
Block a user