Blend::getName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 1
1
<?php
2
namespace nstdio\svg\filter;
3
4
/**
5
 * Class Blend
6
 * This filter composites two objects together using commonly used imaging software blending modes. It performs a
7
 * pixel-wise combination of two input images.
8
 *
9
 * @link    https://www.w3.org/TR/SVG11/filters.html#feBlendElement
10
 * @property string mode = "normal | multiply | screen | darken | lighten" One of the image blending modes (see
11
 *           {@link https://www.w3.org/TR/SVG11/filters.html#BlendingTable}). If attribute 'mode' is not specified,
12
 *           then the effect is as if a value of normal were specified.
13
 * @property string in2  The second input image to the blending operation. This attribute can take on the same values
14
 *           as the 'in' attribute.
15
 * @package nstdio\svg\filter
16
 * @author  Edgar Asatryan <[email protected]>
17
 */
18
class Blend extends BaseFilter
19
{
20
    /**
21
     * @inheritdoc
22
     */
23 2
    public function getName()
24
    {
25 2
        return "feBlend";
26
    }
27
28
}