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

namespace Rv\Data\Graphics\Path\Shape;

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

/**
 * Generated from protobuf message <code>rv.data.Graphics.Path.Shape.Star</code>
 */
class Star extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>double inner_radius = 1;</code>
     */
    protected $inner_radius = 0.0;
    /**
     * Generated from protobuf field <code>uint32 number_points = 2;</code>
     */
    protected $number_points = 0;

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

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>uint32 number_points = 2;</code>
     * @return int
     */
    public function getNumberPoints()
    {
        return $this->number_points;
    }

    /**
     * Generated from protobuf field <code>uint32 number_points = 2;</code>
     * @param int $var
     * @return $this
     */
    public function setNumberPoints($var)
    {
        GPBUtil::checkUint32($var);
        $this->number_points = $var;

        return $this;
    }

}

