PHP Class Neos\Media\Domain\Model\ThumbnailGenerator\FontDocumentThumbnailGenerator

Format support depend on GD/FreeType 2 and your configuration (Settings.yaml)
See also: http://php.net/manual/en/function.imagefttext.php
Inheritance: extends AbstractThumbnailGenerator
Datei anzeigen Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$imageService Neos\Media\Domain\Service\ImageService
$priority integer The priority for this thumbnail generator.

Public Methods

Method Description
canRefresh ( Thumbnail $thumbnail ) : boolean
refresh ( Thumbnail $thumbnail ) : void

Protected Methods

Method Description
resize ( Thumbnail $thumbnail, PersistentResource $resource ) : array

Method Details

canRefresh() public method

public canRefresh ( Thumbnail $thumbnail ) : boolean
$thumbnail Neos\Media\Domain\Model\Thumbnail
return boolean

refresh() public method

public refresh ( Thumbnail $thumbnail ) : void
$thumbnail Neos\Media\Domain\Model\Thumbnail
return void

resize() protected method

protected resize ( Thumbnail $thumbnail, PersistentResource $resource ) : array
$thumbnail Neos\Media\Domain\Model\Thumbnail
$resource Neos\Flow\ResourceManagement\PersistentResource
return array

Property Details

$imageService protected_oe property

protected ImageService,Neos\Media\Domain\Service $imageService
return Neos\Media\Domain\Service\ImageService

$priority protected_oe static_oe property

The priority for this thumbnail generator.
protected static int $priority
return integer