DistantLight   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 8
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\light;
3
4
/**
5
 * Class DistantLight
6
 * The following sections define the elements that define a light source, ‘feDistantLight’, ‘fePointLight’ and
7
 * ‘feSpotLight’, and property ‘lighting-color’, which defines the color of the light.
8
 *
9
 * @link     https://www.w3.org/TR/SVG11/filters.html#feDistantLightElement
10
 *
11
 * @property float azimuth   = "<number>" Direction angle for the light source on the XY plane (clockwise), in degrees
12
 *           from the x axis. If the attribute is not specified, then the effect is as if a value of 0 were specified.
13
 * @property float elevation = "<number>" Direction angle for the light source from the XY plane towards the z axis, in
14
 *           degrees. Note the positive Z-axis points towards the viewer of the content. If the attribute is not
15
 *           specified, then the effect is as if a value of 0 were specified.
16
 * @package  nstdio\svg\light
17
 * @author   Edgar Asatryan <[email protected]>
18
 */
19
class DistantLight extends BaseLight
20
{
21
22 2
    public function getName()
23
    {
24 2
        return 'feDistantLight';
25
    }
26
}