public function ShadowImageEffect::defaultConfiguration in Imagick 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ImageEffectBase::defaultConfiguration
File
- src/
Plugin/ ImageEffect/ ShadowImageEffect.php, line 38
Class
- ShadowImageEffect
- Generates a shadow around an image.
Namespace
Drupal\imagick\Plugin\ImageEffectCode
public function defaultConfiguration() {
return [
'color' => '#454545',
'opacity' => '100',
'sigma' => '25',
'x' => '0',
'y' => '0',
];
}