rv.data.Graphics.Point
*/
class Point extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field double x = 1;
*/
protected $x = 0.0;
/**
* Generated from protobuf field double y = 2;
*/
protected $y = 0.0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type float $x
* @type float $y
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\GraphicsData::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field double x = 1;
* @return float
*/
public function getX()
{
return $this->x;
}
/**
* Generated from protobuf field double x = 1;
* @param float $var
* @return $this
*/
public function setX($var)
{
GPBUtil::checkDouble($var);
$this->x = $var;
return $this;
}
/**
* Generated from protobuf field double y = 2;
* @return float
*/
public function getY()
{
return $this->y;
}
/**
* Generated from protobuf field double y = 2;
* @param float $var
* @return $this
*/
public function setY($var)
{
GPBUtil::checkDouble($var);
$this->y = $var;
return $this;
}
}