halfpastfouram/PHPChartJS

View on GitHub
src/Options/Animation/PieAnimation.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Halfpastfour\PHPChartJS\Options\Animation;

use Halfpastfour\PHPChartJS\Options\Animation;

/**
 * Class PieAnimation
 * @package Halfpastfour\PHPChartJS\Options\Animation
 */
class PieAnimation extends Animation
{
    /**
     * @var bool
     */
    private $animateRotate;

    /**
     * @var bool
     */
    private $animateScale;

    /**
     * @return bool
     */
    public function isAnimateRotate()
    {
        return $this->animateRotate;
    }

    /**
     * @param bool $animateRotate
     *
     * @return PieAnimation
     */
    public function setAnimateRotate($animateRotate)
    {
        $this->animateRotate = $animateRotate;

        return $this;
    }

    /**
     * @return bool
     */
    public function isAnimateScale()
    {
        return $this->animateScale;
    }

    /**
     * @param bool $animateScale
     *
     * @return PieAnimation
     */
    public function setAnimateScale($animateScale)
    {
        $this->animateScale = $animateScale;

        return $this;
    }
}