You are here

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

Class

VignetteImageEffect
Adds vignette to an image.

Namespace

Drupal\imagick\Plugin\ImageEffect

Code

public function defaultConfiguration() {
  return [
    'blackpoint' => '0.5',
    'whitepoint' => '0.5',
    'x' => '5',
    'y' => '5',
  ];
}