propresenter7-php-lib/generated/Rv/Data/TestPatternRenderSettings/Output.php
Thorsten Buss 4d10db4f17 Initial public release
PHP 8.4 library and CLI tools to read, modify, and generate ProPresenter 7
files: songs (.pro), playlists (.proplaylist), bundles (.probundle), themes,
and the global library files (Macros, Labels, Groups, ClearGroups, CCLI,
Messages, Timers, Stage, Workspace, Props, TestPatterns, Calendar,
KeyMappings, CommunicationDevices).

Built on the MIT-licensed ProPresenter7-Proto schema by greyshirtguy
(v7.16.2). Includes 18 CLI parsers, comprehensive API docs in doc/,
binary-format specs, and a synthetic 369-test PHPUnit suite covering
RTF extraction, translation slides, ZIP64 repair, round-trip fidelity,
and end-to-end generation.
2026-05-03 22:21:01 +02:00

195 lines
4.1 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: testPattern.proto
namespace Rv\Data\TestPatternRenderSettings;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.TestPatternRenderSettings.Output</code>
*/
class Output extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>int32 x = 1;</code>
*/
protected $x = 0;
/**
* Generated from protobuf field <code>int32 y = 2;</code>
*/
protected $y = 0;
/**
* Generated from protobuf field <code>int32 width = 3;</code>
*/
protected $width = 0;
/**
* Generated from protobuf field <code>int32 height = 4;</code>
*/
protected $height = 0;
/**
* Generated from protobuf field <code>string name = 5;</code>
*/
protected $name = '';
/**
* Generated from protobuf field <code>double frame_rate = 6;</code>
*/
protected $frame_rate = 0.0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $x
* @type int $y
* @type int $width
* @type int $height
* @type string $name
* @type float $frame_rate
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\TestPattern::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>int32 x = 1;</code>
* @return int
*/
public function getX()
{
return $this->x;
}
/**
* Generated from protobuf field <code>int32 x = 1;</code>
* @param int $var
* @return $this
*/
public function setX($var)
{
GPBUtil::checkInt32($var);
$this->x = $var;
return $this;
}
/**
* Generated from protobuf field <code>int32 y = 2;</code>
* @return int
*/
public function getY()
{
return $this->y;
}
/**
* Generated from protobuf field <code>int32 y = 2;</code>
* @param int $var
* @return $this
*/
public function setY($var)
{
GPBUtil::checkInt32($var);
$this->y = $var;
return $this;
}
/**
* Generated from protobuf field <code>int32 width = 3;</code>
* @return int
*/
public function getWidth()
{
return $this->width;
}
/**
* Generated from protobuf field <code>int32 width = 3;</code>
* @param int $var
* @return $this
*/
public function setWidth($var)
{
GPBUtil::checkInt32($var);
$this->width = $var;
return $this;
}
/**
* Generated from protobuf field <code>int32 height = 4;</code>
* @return int
*/
public function getHeight()
{
return $this->height;
}
/**
* Generated from protobuf field <code>int32 height = 4;</code>
* @param int $var
* @return $this
*/
public function setHeight($var)
{
GPBUtil::checkInt32($var);
$this->height = $var;
return $this;
}
/**
* Generated from protobuf field <code>string name = 5;</code>
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Generated from protobuf field <code>string name = 5;</code>
* @param string $var
* @return $this
*/
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
}
/**
* Generated from protobuf field <code>double frame_rate = 6;</code>
* @return float
*/
public function getFrameRate()
{
return $this->frame_rate;
}
/**
* Generated from protobuf field <code>double frame_rate = 6;</code>
* @param float $var
* @return $this
*/
public function setFrameRate($var)
{
GPBUtil::checkDouble($var);
$this->frame_rate = $var;
return $this;
}
}