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

namespace Rv\Data\TestPattern;

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

/**
 * Generated from protobuf message <code>rv.data.TestPattern.BlendGrid</code>
 */
class BlendGrid extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>bool draw_grid = 1;</code>
     */
    protected $draw_grid = false;
    /**
     * Generated from protobuf field <code>bool draw_circles = 2;</code>
     */
    protected $draw_circles = false;
    /**
     * Generated from protobuf field <code>bool draw_lines = 3;</code>
     */
    protected $draw_lines = false;
    /**
     * Generated from protobuf field <code>bool invert_colors = 4;</code>
     */
    protected $invert_colors = false;
    /**
     * Generated from protobuf field <code>double grid_spacing = 5;</code>
     */
    protected $grid_spacing = 0.0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $draw_grid
     *     @type bool $draw_circles
     *     @type bool $draw_lines
     *     @type bool $invert_colors
     *     @type float $grid_spacing
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\TestPattern::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>bool draw_grid = 1;</code>
     * @return bool
     */
    public function getDrawGrid()
    {
        return $this->draw_grid;
    }

    /**
     * Generated from protobuf field <code>bool draw_grid = 1;</code>
     * @param bool $var
     * @return $this
     */
    public function setDrawGrid($var)
    {
        GPBUtil::checkBool($var);
        $this->draw_grid = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>bool draw_circles = 2;</code>
     * @return bool
     */
    public function getDrawCircles()
    {
        return $this->draw_circles;
    }

    /**
     * Generated from protobuf field <code>bool draw_circles = 2;</code>
     * @param bool $var
     * @return $this
     */
    public function setDrawCircles($var)
    {
        GPBUtil::checkBool($var);
        $this->draw_circles = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>bool draw_lines = 3;</code>
     * @return bool
     */
    public function getDrawLines()
    {
        return $this->draw_lines;
    }

    /**
     * Generated from protobuf field <code>bool draw_lines = 3;</code>
     * @param bool $var
     * @return $this
     */
    public function setDrawLines($var)
    {
        GPBUtil::checkBool($var);
        $this->draw_lines = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>bool invert_colors = 4;</code>
     * @return bool
     */
    public function getInvertColors()
    {
        return $this->invert_colors;
    }

    /**
     * Generated from protobuf field <code>bool invert_colors = 4;</code>
     * @param bool $var
     * @return $this
     */
    public function setInvertColors($var)
    {
        GPBUtil::checkBool($var);
        $this->invert_colors = $var;

        return $this;
    }

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

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

        return $this;
    }

}

