Completed
Pull Request — develop (#626)
by
unknown
09:26
created

AbstractTypeLine::getIsSmooth()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 3
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
/**
3
 * This file is part of PHPPresentation - A pure PHP library for reading and writing
4
 * presentations documents.
5
 *
6
 * PHPPresentation is free software distributed under the terms of the GNU Lesser
7
 * General Public License version 3 as published by the Free Software Foundation.
8
 *
9
 * For the full copyright and license information, please read the LICENSE
10
 * file that was distributed with this source code. For the full list of
11
 * contributors, visit https://github.com/PHPOffice/PHPPresentation/contributors.
12
 *
13
 * @link        https://github.com/PHPOffice/PHPPresentation
14
 * @copyright   2009-2015 PHPPresentation contributors
15
 * @license     http://www.gnu.org/licenses/lgpl.txt LGPL version 3
16
 */
17
18
namespace PhpOffice\PhpPresentation\Shape\Chart\Type;
19
20
use PhpOffice\PhpPresentation\ComparableInterface;
21
22
/**
23
 * \PhpOffice\PhpPresentation\Shape\Chart\Type\Line
24
 */
25
abstract class AbstractTypeLine extends AbstractType implements ComparableInterface
26
{
27
	/**
28
	* Is Line Smooth?
29
	* @var boolean 
30
	*/
31
   protected $isSmooth = false;
32
   
33
	/**
34
	* Is Line Smooth?
35
	*
36
	* @return boolean
37
	*/
38 16
   public function getIsSmooth(){
39 16
	   return $this->isSmooth;
40
   }
41
   
42
    /**
43
    * Set Line Smoothness
44
    *
45
    * @param  boolean $value
46
    * @return $this
47
    */
48
    public function setIsSmooth($value = true)
49
    {
50
        $this->isSmooth = $value;
51
        return $this;
52
    }
53
   
54
   
55
}
56