Imagine API
Interface

Imagine\Image\FontInterface

interface FontInterface

Methods

string getFile()

Gets the fontfile for current font

integer getSize()

Gets font's integer point size

Color getColor()

Gets font's color

BoxInterface box(string $string, integer $angle)

Gets BoxInterface of font size on the image based on string and angle

Details

at line 24
public string getFile()

Gets the fontfile for current font

Return Value

string

at line 31
public integer getSize()

Gets font's integer point size

Return Value

integer

at line 38
public Color getColor()

Gets font's color

Return Value

Color

at line 48
public BoxInterface box(string $string, integer $angle)

Gets BoxInterface of font size on the image based on string and angle

Parameters

string $string
integer $angle

Return Value

BoxInterface