1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99: 100: 101: 102: 103: 104: 105: 106: 107: 108: 109: 110: 111: 112: 113: 114: 115: 116: 117: 118: 119: 120: 121: 122: 123: 124: 125: 126: 127: 128: 129: 130: 131: 132: 133: 134: 135: 136: 137: 138: 139: 140: 141: 142: 143: 144: 145: 146: 147: 148: 149: 150: 151: 152: 153: 154: 155: 156: 157: 158: 159: 160: 161: 162: 163: 164: 165: 166: 167: 168: 169: 170: 171: 172: 173: 174: 175: 176: 177: 178: 179: 180: 181: 182: 183: 184: 185: 186: 187: 188: 189: 190: 191: 192: 193: 194: 195: 196: 197: 198: 199: 200: 201: 202: 203: 204: 205: 206: 207: 208: 209: 210: 211: 212: 213: 214: 215: 216: 217: 218: 219: 220: 221: 222: 223: 224: 225: 226: 227: 228: 229: 230: 231: 232: 233: 234: 235: 236: 237: 238: 239: 240: 241: 242: 243: 244: 245: 246: 247: 248: 249: 250: 251: 252: 253: 254: 255: 256: 257: 258: 259: 260: 261: 262: 263: 264: 265: 266: 267: 268: 269: 270: 271: 272: 273: 274: 275: 276: 277: 278: 279: 280: 281: 282: 283: 284: 285: 286: 287: 288: 289: 290: 291: 292: 293: 294: 295: 296: 297: 298: 299: 300: 301: 302: 303: 304: 305: 306: 307: 308: 309: 310: 311: 312: 313: 314: 315: 316: 317: 318: 319: 320: 321: 322: 323: 324: 325: 326: 327: 328: 329: 330: 331: 332: 333: 334: 335: 336: 337: 338: 339: 340: 341: 342:
<?php
/**
* MvcCore
*
* This source file is subject to the BSD 3 License
* For the full copyright and license information, please view
* the LICENSE.md file that are distributed with this source code.
*
* @copyright Copyright (c) 2016 Tom Flidr (https://github.com/mvccore)
* @license https://mvccore.github.io/docs/mvccore/5.0.0/LICENCE.md
*/
namespace MvcCore\Ext\Tools\Images\Imagicks;
interface IComposite {
/**
* The default composite operator
* @var int
*/
const NORMAL = 40;
/**
* Undefined composite operator
* @var int
*/
const UNDEFINED = 0;
/**
* No composite operator defined
* @var int
*/
const NO = 1;
/**
* The result of image + image
* @var int
*/
const ADD = 2;
/**
* The result is the same shape as image, with composite image obscuring image where the image shapes overlap
* @var int
*/
const ATOP = 3;
/**
* Blends the image
* @var int
*/
const BLEND = 4;
/**
* The same as MULTIPLY, except the source is converted to grayscale first.
* @var int
*/
const BUMPMAP = 5;
/**
* Makes the target image transparent
* @var int
*/
const CLEAR = 7;
/**
* Darkens the destination image to reflect the source image
* @var int
*/
const COLORBURN = 8;
/**
* Brightens the destination image to reflect the source image
* @var int
*/
const COLORDODGE = 9;
/**
* Colorizes the target image using the composite image
* @var int
*/
const COLORIZE = 10;
/**
* Copies black from the source to target
* @var int
*/
const COPYBLACK = 11;
/**
* Copies blue from the source to target
* @var int
*/
const COPYBLUE = 12;
/**
* Copies the source image on the target image
* @var int
*/
const COPY = 13;
/**
* Copies cyan from the source to target
* @var int
*/
const COPYCYAN = 14;
/**
* Copies green from the source to target
* @var int
*/
const COPYGREEN = 15;
/**
* Copies magenta from the source to target
* @var int
*/
const COPYMAGENTA = 16;
/**
* Copies opacity from the source to target
* @var int
*/
const COPYOPACITY = 17;
/**
* Copies red from the source to target
* @var int
*/
const COPYRED = 18;
/**
* Copies yellow from the source to target
* @var int
*/
const COPYYELLOW = 19;
/**
* Darkens the target image
* @var int
*/
const DARKEN = 20;
/**
* The part of the destination lying inside of the source is composited over the source and replaces the destination
* @var int
*/
const DSTATOP = 21;
/**
* The target is left untouched
* @var int
*/
const DST = 22;
/**
* The parts inside the source replace the target
* @var int
*/
const DSTIN = 23;
/**
* The parts outside the source replace the target
* @var int
*/
const DSTOUT = 24;
/**
* Target replaces the source
* @var int
*/
const DSTOVER = 25;
/**
* Subtracts the darker of the two constituent colours from the lighter
* @var int
*/
const DIFFERENCE = 26;
/**
* Shifts target image pixels as defined by the source
* @var int
*/
const DISPLACE = 27;
/**
* Dissolves the source in to the target
* @var int
*/
const DISSOLVE = 28;
/**
* Produces an effect similar to that of \ Imagick::DIFFERENCE, but appears as lower contrast
* @var int
*/
const EXCLUSION = 29;
/**
* Multiplies or screens the colours, dependent on the source color value
* @var int
*/
const HARDLIGHT = 30;
/**
* Modifies the hue of the target as defined by source
* @var int
*/
const HUE = 31;
/**
* Composites source into the target
* @var int
*/
const IN = 32;
/**
* Lightens the target as defined by source
* @var int
*/
const LIGHTEN = 33;
/**
* Luminizes the target as defined by source
* @var int
*/
const LUMINIZE = 35;
/**
* Subtracts the source from the target
* @var int
*/
const MINUS = 36;
/**
* Modulates the target brightness, saturation and hue as defined by source
* @var int
*/
const MODULATE = 37;
/**
* Multiplies the target to the source
* @var int
*/
const MULTIPLY = 38;
/**
* Composites outer parts of the source on the target
* @var int
*/
const OUT = 39;
/**
* Composites source over the target
* @var int
*/
const OVER = 40;
/**
* Overlays the source on the target
* @var int
*/
const OVERLAY = 41;
/**
* Adds the source to the target
* @var int
*/
const PLUS = 42;
/**
* Replaces the target with the source
* @var int
*/
const REPLACE = 43;
/**
* Saturates the target as defined by the source
* @var int
*/
const SATURATE = 44;
/**
* The source and destination are complemented and then multiplied and then replace the destination
* @var int
*/
const SCREEN = 45;
/**
* Darkens or lightens the colours, dependent on the source
* @var int
*/
const SOFTLIGHT = 46;
/**
* The part of the source lying inside of the destination is composited onto the destination
* @var int
*/
const SRCATOP = 47;
/**
* The source is copied to the destination
* @var int
*/
const SRC = 48;
/**
* The part of the source lying inside of the destination replaces the destination
* @var int
*/
const SRCIN = 49;
/**
* The part of the source lying outside of the destination replaces the destination
* @var int
*/
const SRCOUT = 50;
/**
* The source replaces the destination
* @var int
*/
const SRCOVER = 51;
/**
* Subtract the colours in the source image from the destination image
* @var int
*/
const SUBTRACT = 52;
/**
* The source is composited on the target as defined by source threshold
* @var int
*/
const THRESHOLD = 53;
/**
* The part of the source that lies outside of the destination is combined with the part of the destination that lies outside of the source
* @var int
*/
const _XOR = 54;
}