You are here

protected function ConvolutionTrait::arguments in Image Effects 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/ImageToolkit/Operation/ConvolutionTrait.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\ConvolutionTrait::arguments()
  2. 8 src/Plugin/ImageToolkit/Operation/ConvolutionTrait.php \Drupal\image_effects\Plugin\ImageToolkit\Operation\ConvolutionTrait::arguments()

File

src/Plugin/ImageToolkit/Operation/ConvolutionTrait.php, line 13

Class

ConvolutionTrait
Base trait for image_effects Convolution operations.

Namespace

Drupal\image_effects\Plugin\ImageToolkit\Operation

Code

protected function arguments() {
  return [
    'kernel' => [
      'description' => 'The convolution kernel matrix.',
    ],
    'divisor' => [
      'description' => 'Typically the matrix entries sum (normalization).',
    ],
    'offset' => [
      'description' => 'This value is added to the division result.',
    ],
  ];
}