1<?php 2 3/** @generate-function-entries */ 4 5#ifdef IMAGICK_WITH_KERNEL 6class ImagickKernel 7{ 8 public function addKernel(ImagickKernel $kernel): void {} 9 10 public function addUnityKernel(float $scale): void {} 11 12 // KERNEL_* 13 public static function fromBuiltin(int $kernel, string $shape): ImagickKernel {} 14 15 public static function fromMatrix(array $matrix, ?array $origin): ImagickKernel {} 16 17 public function getMatrix(): array {} 18 19 // NORMALIZE_KERNEL_ 20 public function scale(float $scale, ?int $normalize_kernel = null): void {} 21 22 public function separate(): array {} 23} 24#endif 25 26