<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: graphicsData.proto

namespace Rv\Data\Graphics\BackgroundEffect;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Generated from protobuf message <code>rv.data.Graphics.BackgroundEffect.BackgroundEffectBlur</code>
 */
class BackgroundEffectBlur extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>double saturation = 1;</code>
     */
    protected $saturation = 0.0;
    /**
     * Generated from protobuf field <code>double blur_amount = 2;</code>
     */
    protected $blur_amount = 0.0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type float $saturation
     *     @type float $blur_amount
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\GraphicsData::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>double saturation = 1;</code>
     * @return float
     */
    public function getSaturation()
    {
        return $this->saturation;
    }

    /**
     * Generated from protobuf field <code>double saturation = 1;</code>
     * @param float $var
     * @return $this
     */
    public function setSaturation($var)
    {
        GPBUtil::checkDouble($var);
        $this->saturation = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>double blur_amount = 2;</code>
     * @return float
     */
    public function getBlurAmount()
    {
        return $this->blur_amount;
    }

    /**
     * Generated from protobuf field <code>double blur_amount = 2;</code>
     * @param float $var
     * @return $this
     */
    public function setBlurAmount($var)
    {
        GPBUtil::checkDouble($var);
        $this->blur_amount = $var;

        return $this;
    }

}

