Definition at line 5 of file AbstractFont.php.
◆ __construct()
Intervention\Image\AbstractFont::__construct |
( |
|
$text = null | ) |
|
Create a new instance of Font
- Parameters
-
Strinf | $text | Text to be written |
Definition at line 71 of file AbstractFont.php.
◆ align()
Intervention\Image\AbstractFont::align |
( |
|
$align | ) |
|
Set horizontal text alignment
- Parameters
-
- Returns
- void
Definition at line 166 of file AbstractFont.php.
◆ angle()
Intervention\Image\AbstractFont::angle |
( |
|
$angle | ) |
|
Set rotation angle of text
- Parameters
-
- Returns
- void
Definition at line 145 of file AbstractFont.php.
◆ applyToImage()
Intervention\Image\AbstractFont::applyToImage |
( |
Image |
$image, |
|
|
|
$posx = 0 , |
|
|
|
$posy = 0 |
|
) |
| |
|
abstract |
◆ color()
Intervention\Image\AbstractFont::color |
( |
|
$color | ) |
|
Set color of text to be written
- Parameters
-
- Returns
- void
Definition at line 124 of file AbstractFont.php.
◆ countLines()
Intervention\Image\AbstractFont::countLines |
( |
| ) |
|
Counts lines of text to be written
- Returns
- integer
Definition at line 242 of file AbstractFont.php.
◆ file()
Intervention\Image\AbstractFont::file |
( |
|
$file | ) |
|
◆ getAlign()
Intervention\Image\AbstractFont::getAlign |
( |
| ) |
|
◆ getAngle()
Intervention\Image\AbstractFont::getAngle |
( |
| ) |
|
◆ getColor()
Intervention\Image\AbstractFont::getColor |
( |
| ) |
|
◆ getFile()
Intervention\Image\AbstractFont::getFile |
( |
| ) |
|
◆ getSize()
Intervention\Image\AbstractFont::getSize |
( |
| ) |
|
◆ getText()
Intervention\Image\AbstractFont::getText |
( |
| ) |
|
◆ getValign()
Intervention\Image\AbstractFont::getValign |
( |
| ) |
|
◆ hasApplicableFontFile()
Intervention\Image\AbstractFont::hasApplicableFontFile |
( |
| ) |
|
|
protected |
Checks if current font has access to an applicable font file
- Returns
- boolean
Definition at line 228 of file AbstractFont.php.
◆ size()
Intervention\Image\AbstractFont::size |
( |
|
$size | ) |
|
Set font size in pixels
- Parameters
-
- Returns
- void
Definition at line 103 of file AbstractFont.php.
◆ text()
Intervention\Image\AbstractFont::text |
( |
|
$text | ) |
|
Set text to be written
- Parameters
-
- Returns
- void
Definition at line 82 of file AbstractFont.php.
◆ valign()
Intervention\Image\AbstractFont::valign |
( |
|
$valign | ) |
|
Set vertical text alignment
- Parameters
-
- Returns
- void
Definition at line 187 of file AbstractFont.php.
◆ $align
Intervention\Image\AbstractFont::$align |
◆ $angle
Intervention\Image\AbstractFont::$angle = 0 |
◆ $color
Intervention\Image\AbstractFont::$color = '000000' |
◆ $file
Intervention\Image\AbstractFont::$file |
◆ $size
Intervention\Image\AbstractFont::$size = 12 |
◆ $text
Intervention\Image\AbstractFont::$text |
◆ $valign
Intervention\Image\AbstractFont::$valign |
The documentation for this class was generated from the following file: