You are here

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

Class

RoundedCornersImageEffect
Adds rounded corners to the image.

Namespace

Drupal\imagick\Plugin\ImageEffect

Code

public function defaultConfiguration() {
  return [
    'x_rounding' => '50',
    'y_rounding' => '50',
    'stroke_width' => '10',
    'displace' => '5',
    'size_correction' => '-6',
  ];
}