You are here

public function BlurImageEffect::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/BlurImageEffect.php, line 39

Class

BlurImageEffect
Blurs an image resource.

Namespace

Drupal\imagick\Plugin\ImageEffect

Code

public function defaultConfiguration() {
  return [
    'type' => ImagickConst::NORMAL_BLUR,
    'radius' => '16',
    'sigma' => '16',
    'angle' => '0',
  ];
}