Imagick::roundCorners(PECL imagick 2.0.0) Imagick::roundCorners — Rounds image corners Описание
bool Imagick::roundCorners
( float $x_rounding
, float $y_rounding
[, float $stroke_width = 10
[, float $displace = 5
[, float $size_correction = -6
]]] )
Rounds image corners. The first two parameters control the amount of rounding and the three last parameters can be used to fine-tune the rounding process. Этот метод доступен, если Imagick был скомпилирован с версией ImageMagick 6.2.9 или старше. Список параметров
Примеры
Пример #1 Using Imagick::roundCorners(): Rounds the image corners
<?phpВозвращаемые значенияВ случае успешной работы возвращает TRUE. |
||