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
Afficher le fichier Open project: neos/neos-development-collection

Protected Properties

Свойство Type Description
$imageService Neos\Media\Domain\Service\ImageService
$priority integer The priority for this thumbnail generator.

Méthodes publiques

Méthode Description
canRefresh ( Thumbnail $thumbnail ) : boolean
refresh ( Thumbnail $thumbnail ) : void

Méthodes protégées

Méthode Description
resize ( Thumbnail $thumbnail, PersistentResource $resource ) : array

Method Details

canRefresh() public méthode

public canRefresh ( Thumbnail $thumbnail ) : boolean
$thumbnail Neos\Media\Domain\Model\Thumbnail
Résultat boolean

refresh() public méthode

public refresh ( Thumbnail $thumbnail ) : void
$thumbnail Neos\Media\Domain\Model\Thumbnail
Résultat void

resize() protected méthode

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

Property Details

$imageService protected_oe property

protected ImageService,Neos\Media\Domain\Service $imageService
Résultat Neos\Media\Domain\Service\ImageService

$priority protected_oe static_oe property

The priority for this thumbnail generator.
protected static int $priority
Résultat integer