rv.data.Graphics.Path.Shape.Star */ class Star extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field double inner_radius = 1; */ protected $inner_radius = 0.0; /** * Generated from protobuf field uint32 number_points = 2; */ 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 double inner_radius = 1; * @return float */ public function getInnerRadius() { return $this->inner_radius; } /** * Generated from protobuf field double inner_radius = 1; * @param float $var * @return $this */ public function setInnerRadius($var) { GPBUtil::checkDouble($var); $this->inner_radius = $var; return $this; } /** * Generated from protobuf field uint32 number_points = 2; * @return int */ public function getNumberPoints() { return $this->number_points; } /** * Generated from protobuf field uint32 number_points = 2; * @param int $var * @return $this */ public function setNumberPoints($var) { GPBUtil::checkUint32($var); $this->number_points = $var; return $this; } }