You are here

public static function ImagickConst::composites in Imagick 8

Return value

array

1 call to ImagickConst::composites()
CompositeImageEffect::buildConfigurationForm in src/Plugin/ImageEffect/CompositeImageEffect.php
Form constructor.

File

src/ImagickConst.php, line 19

Class

ImagickConst

Namespace

Drupal\imagick

Code

public static function composites() {
  return [
    'Color' => [
      Imagick::COMPOSITE_COPY => 'Copy',
      Imagick::COMPOSITE_COPYOPACITY => 'Opacity',
      Imagick::COMPOSITE_COPYBLACK => 'Black',
      Imagick::COMPOSITE_COPYBLUE => 'Blue',
      Imagick::COMPOSITE_COPYCYAN => 'Cyan',
      Imagick::COMPOSITE_COPYGREEN => 'Green',
      Imagick::COMPOSITE_COPYMAGENTA => 'Magenta',
      Imagick::COMPOSITE_COPYRED => 'Red',
      Imagick::COMPOSITE_COPYYELLOW => 'Yellow',
    ],
    'Source' => [
      Imagick::COMPOSITE_SRC => 'Copy',
      Imagick::COMPOSITE_SRCATOP => 'Atop',
      Imagick::COMPOSITE_SRCIN => 'In',
      Imagick::COMPOSITE_SRCOUT => 'Out',
      Imagick::COMPOSITE_SRCOVER => 'Over (replace)',
    ],
    'Destination' => [
      Imagick::COMPOSITE_DST => 'Leave untouched',
      Imagick::COMPOSITE_DSTATOP => 'Atop',
      Imagick::COMPOSITE_DSTIN => 'In',
      Imagick::COMPOSITE_DSTOUT => 'Out',
      Imagick::COMPOSITE_DSTOVER => 'Over (replace)',
    ],
    Imagick::COMPOSITE_UNDEFINED => 'Undefined',
    Imagick::COMPOSITE_OVER => 'Over',
    Imagick::COMPOSITE_NO => 'None',
    Imagick::COMPOSITE_ADD => 'Add',
    Imagick::COMPOSITE_ATOP => 'Atop',
    Imagick::COMPOSITE_BLEND => 'Blend',
    Imagick::COMPOSITE_BUMPMAP => 'Bumpmap',
    Imagick::COMPOSITE_CLEAR => 'Clear',
    Imagick::COMPOSITE_COLORBURN => 'Color burn',
    Imagick::COMPOSITE_COLORDODGE => 'Color dodge',
    Imagick::COMPOSITE_COLORIZE => 'Colorize',
    Imagick::COMPOSITE_DARKEN => 'Darken',
    Imagick::COMPOSITE_DIFFERENCE => 'Difference',
    Imagick::COMPOSITE_DISPLACE => 'Displace',
    Imagick::COMPOSITE_DISSOLVE => 'Dissolve',
    Imagick::COMPOSITE_EXCLUSION => 'Exclusion',
    Imagick::COMPOSITE_HARDLIGHT => 'Hard light',
    Imagick::COMPOSITE_HUE => 'Hue',
    Imagick::COMPOSITE_IN => 'In',
    Imagick::COMPOSITE_LIGHTEN => 'Lighten',
    Imagick::COMPOSITE_LUMINIZE => 'Luminize',
    Imagick::COMPOSITE_MINUS => 'Minus',
    Imagick::COMPOSITE_MODULATE => 'Modulate',
    Imagick::COMPOSITE_MULTIPLY => 'Multiply',
    Imagick::COMPOSITE_OUT => 'Out',
    Imagick::COMPOSITE_OVERLAY => 'Overlay',
    Imagick::COMPOSITE_PLUS => 'Plus',
    Imagick::COMPOSITE_REPLACE => 'Replace',
    Imagick::COMPOSITE_SATURATE => 'Saturate',
    Imagick::COMPOSITE_SCREEN => 'Screen',
    Imagick::COMPOSITE_SOFTLIGHT => 'Soft light',
    Imagick::COMPOSITE_SUBTRACT => 'Subtract',
    Imagick::COMPOSITE_THRESHOLD => 'Threshold',
    Imagick::COMPOSITE_XOR => 'XOR',
  ];
}