propresenter-php/php/generated/Rv/Data/Graphics/Point.php
2026-03-01 16:12:17 +01:00

87 lines
1.8 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: graphicsData.proto
namespace Rv\Data\Graphics;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.Graphics.Point</code>
*/
class Point extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>double x = 1;</code>
*/
protected $x = 0.0;
/**
* Generated from protobuf field <code>double y = 2;</code>
*/
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 <code>double x = 1;</code>
* @return float
*/
public function getX()
{
return $this->x;
}
/**
* Generated from protobuf field <code>double x = 1;</code>
* @param float $var
* @return $this
*/
public function setX($var)
{
GPBUtil::checkDouble($var);
$this->x = $var;
return $this;
}
/**
* Generated from protobuf field <code>double y = 2;</code>
* @return float
*/
public function getY()
{
return $this->y;
}
/**
* Generated from protobuf field <code>double y = 2;</code>
* @param float $var
* @return $this
*/
public function setY($var)
{
GPBUtil::checkDouble($var);
$this->y = $var;
return $this;
}
}