![]() |
Joomla CMS
3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
|
Graphe d'héritage de Image:Fonctions membres publiques | |
| __construct ($source=null) | |
Fonctions membres publiques hérités de Image | |
| __construct ($source=null) | |
| getHandle () | |
| getLogger () | |
| setLogger (LoggerInterface $logger) | |
| getOrientation () | |
| generateThumbs ($thumbSizes, $creationMethod=self::SCALE_INSIDE) | |
| createThumbs ($thumbSizes, $creationMethod=self::SCALE_INSIDE, $thumbsFolder=null) | |
| crop ($width, $height, $left=null, $top=null, $createNew=true) | |
| filter ($type, array $options=array()) | |
| getHeight () | |
| getWidth () | |
| getPath () | |
| isLoaded () | |
| isTransparent () | |
| loadFile ($path) | |
| resize ($width, $height, $createNew=true, $scaleMethod=self::SCALE_INSIDE) | |
| cropResize ($width, $height, $createNew=true) | |
| rotate ($angle, $background=-1, $createNew=true) | |
| flip ($mode, $createNew=true) | |
| watermark (Image $watermark, $transparency=50, $bottomMargin=0, $rightMargin=0) | |
| toFile ($path, $type=IMAGETYPE_JPEG, array $options=array()) | |
| destroy () | |
| __destruct () | |
| setThumbnailGenerate ($quality=true) | |
Fonctions membres protégées | |
| getFilterInstance ($type) | |
Fonctions membres protégées hérités de Image | |
| getFilterInstance ($type) | |
| prepareDimensions ($width, $height, $scaleMethod) | |
| sanitizeHeight ($height, $width) | |
| sanitizeOffset ($offset) | |
| sanitizeWidth ($width, $height) | |
Membres hérités additionnels | |
Fonctions membres publiques statiques hérités de Image | |
| static | getImageFileProperties ($path) |
Champs de données hérités de Image | |
| const | SCALE_FILL = 1 |
| const | SCALE_INSIDE = 2 |
| const | SCALE_OUTSIDE = 3 |
| const | CROP = 4 |
| const | CROP_RESIZE = 5 |
| const | SCALE_FIT = 6 |
| const | ORIENTATION_LANDSCAPE = 'landscape' |
| const | ORIENTATION_PORTRAIT = 'portrait' |
| const | ORIENTATION_SQUARE = 'square' |
Attributs protégés hérités de Image | |
| $handle | |
| $path | |
| $logger | |
| $generateBestQuality = true | |
Attributs protégés statiques hérités de Image | |
| static | $formats = array() |
Class to manipulate an image.
| __construct | ( | $source = null | ) |
Class constructor.
| mixed | $source | Either a file path for a source image or a GD resource handler for an image. |
Références Log\createDelegatedLogger(), et Psr\Log\setLogger().
|
protected |
Method to get an image filter instance of a specified type.
| string | $type | The image filter type to get. |
Références $className, $type, Log\add(), et Log\ERROR.