- Classes
- Namespaces
- Interfaces
- Traits
- Index

Interface

# Imagine\Image\FontInterface

interface FontInterface

The font interface

## Methods

string | getFile() Gets the fontfile for current font |
integer | getSize() Gets font's integer point size |
ColorInterface | 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 26
`public string getFile()`

Gets the fontfile for current font

#### Return Value

string |

###
at line 33
`public integer getSize()`

Gets font's integer point size

#### Return Value

integer |

###
at line 40
`public ColorInterface getColor()`

Gets font's color

#### Return Value

ColorInterface |

###
at line 50
`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 |