GaussianBlur   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 11
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getName() 0 4 1
1
<?php
2
namespace nstdio\svg\filter;
3
4
/**
5
 * Class GaussianBlur
6
 * This filter primitive performs a Gaussian blur on the input image.
7
 *
8
 * @link    https://www.w3.org/TR/SVG11/filters.html#feGaussianBlurElement
9
 * @property string stdDeviation = "<number-optional-number>" The standard deviation for the blur operation. If two
10
 *           <number>s are provided, the first number represents a standard deviation value along the x-axis of the
11
 *           coordinate system established by attribute 'primitiveUnits' on the 'filter' element. The second value
12
 *           represents a standard deviation in Y. If one number is provided, then that value is used for both X and Y.
13
 *           A negative value is an error (see Error processing). A value of zero disables the effect of the given
14
 *           filter primitive (i.e., the result is the filter input image). If 'stdDeviation' is 0 in only one of X or
15
 *           Y, then the effect is that the blur is only applied in the direction that has a non-zero value. If the
16
 *           attribute is not specified, then the effect is as if a value of 0 were specified.
17
 *
18
 * @package nstdio\svg\filter
19
 * @author  Edgar Asatryan <[email protected]>
20
 */
21
class GaussianBlur extends BaseFilter
22
{
23
    /**
24
     * @inheritdoc
25
     */
26 5
    public function getName()
27
    {
28 5
        return "feGaussianBlur";
29
    }
30
31
}