FontDocumentThumbnailGenerator
class FontDocumentThumbnailGenerator extends AbstractThumbnailGenerator (View source)
A system-generated preview version of a font document.
Format support depend on GD/FreeType 2 and your configuration (Settings.yaml)
Properties
protected Environment | $environment | from AbstractThumbnailGenerator | |
protected ImagineInterface | $imagineService | from AbstractThumbnailGenerator | |
protected ResourceManager | $resourceManager | from AbstractThumbnailGenerator | |
static protected int | $priority | The priority for this thumbnail generator. |
|
protected array | $options | from AbstractThumbnailGenerator | |
protected ImageService | $imageService |
Methods
bool
Details
static int
getPriority()
No description
protected mixed
getOption(string $key)
No description
bool
canRefresh(Thumbnail $thumbnail)
No description
protected bool
isExtensionSupported(Thumbnail $thumbnail)
No description
void
refresh(Thumbnail $thumbnail)
No description
protected array
resize(Thumbnail $thumbnail, PersistentResource $resource)
No description