Méthode | Description | |
---|---|---|
create ( string | Contao\Image\ImageInterface $path, integer | array | Contao\Image\PictureConfigurationInterface | null $size = null ) : Contao\Image\PictureInterface | Creates a Picture object. | |
setDefaultDensities ( string $densities ) : static | Sets the default densities for generating pictures. |
public create ( string | Contao\Image\ImageInterface $path, integer | array | Contao\Image\PictureConfigurationInterface | null $size = null ) : Contao\Image\PictureInterface | ||
$path | string | Contao\Image\ImageInterface | |
$size | integer | array | Contao\Image\PictureConfigurationInterface | null | |
Résultat | Contao\Image\PictureInterface |
public setDefaultDensities ( string $densities ) : static | ||
$densities | string | |
Résultat | static |