<?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.Polygon</code>
 */
class Polygon extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>uint32 number_sides = 1;</code>
     */
    protected $number_sides = 0;

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

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

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

        return $this;
    }

}

