You are here

function imagick_swirl_form in Imagick 7

Settings form for the imagick swirl effect.

Parameters

$action: The saved action form parameters.

1 string reference to 'imagick_swirl_form'
imagick_image_effect_info in ./imagick.module
Implements hook_image_effect_info()

File

effects/imagick.swirl.inc, line 35

Code

function imagick_swirl_form($data) {
  $data = array_merge(imagick_swirl_defaults(), (array) $data);
  $form['degrees'] = array(
    '#type' => 'textfield',
    '#title' => t('Degrees'),
    '#description' => t('The number of degrees of the swirl effect.'),
    '#default_value' => $data['degrees'],
    '#size' => 3,
  );
  return $form;
}