You are here

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

Class

SketchImageEffect
Generates a sketch from an image.

Namespace

Drupal\imagick\Plugin\ImageEffect

Code

public function defaultConfiguration() {
  return [
    'radius' => '8',
    'sigma' => '8',
    'angle' => '0',
  ];
}