195 lines
4.7 KiB
PHP
195 lines
4.7 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: graphicsData.proto
|
|
|
|
namespace Rv\Data\Graphics\Text;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.Graphics.Text.LineFillMask</code>
|
|
*/
|
|
class LineFillMask extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>bool enabled = 1;</code>
|
|
*/
|
|
protected $enabled = false;
|
|
/**
|
|
* Generated from protobuf field <code>double height_offset = 2;</code>
|
|
*/
|
|
protected $height_offset = 0.0;
|
|
/**
|
|
* Generated from protobuf field <code>double vertical_offset = 3;</code>
|
|
*/
|
|
protected $vertical_offset = 0.0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.LineFillMask.LineMaskStyle mask_style = 4;</code>
|
|
*/
|
|
protected $mask_style = 0;
|
|
/**
|
|
* Generated from protobuf field <code>double width_offset = 5;</code>
|
|
*/
|
|
protected $width_offset = 0.0;
|
|
/**
|
|
* Generated from protobuf field <code>double horizontal_offset = 6;</code>
|
|
*/
|
|
protected $horizontal_offset = 0.0;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type bool $enabled
|
|
* @type float $height_offset
|
|
* @type float $vertical_offset
|
|
* @type int $mask_style
|
|
* @type float $width_offset
|
|
* @type float $horizontal_offset
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\GraphicsData::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool enabled = 1;</code>
|
|
* @return bool
|
|
*/
|
|
public function getEnabled()
|
|
{
|
|
return $this->enabled;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool enabled = 1;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setEnabled($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->enabled = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double height_offset = 2;</code>
|
|
* @return float
|
|
*/
|
|
public function getHeightOffset()
|
|
{
|
|
return $this->height_offset;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double height_offset = 2;</code>
|
|
* @param float $var
|
|
* @return $this
|
|
*/
|
|
public function setHeightOffset($var)
|
|
{
|
|
GPBUtil::checkDouble($var);
|
|
$this->height_offset = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double vertical_offset = 3;</code>
|
|
* @return float
|
|
*/
|
|
public function getVerticalOffset()
|
|
{
|
|
return $this->vertical_offset;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double vertical_offset = 3;</code>
|
|
* @param float $var
|
|
* @return $this
|
|
*/
|
|
public function setVerticalOffset($var)
|
|
{
|
|
GPBUtil::checkDouble($var);
|
|
$this->vertical_offset = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.LineFillMask.LineMaskStyle mask_style = 4;</code>
|
|
* @return int
|
|
*/
|
|
public function getMaskStyle()
|
|
{
|
|
return $this->mask_style;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.LineFillMask.LineMaskStyle mask_style = 4;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setMaskStyle($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Data\Graphics\Text\LineFillMask\LineMaskStyle::class);
|
|
$this->mask_style = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double width_offset = 5;</code>
|
|
* @return float
|
|
*/
|
|
public function getWidthOffset()
|
|
{
|
|
return $this->width_offset;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double width_offset = 5;</code>
|
|
* @param float $var
|
|
* @return $this
|
|
*/
|
|
public function setWidthOffset($var)
|
|
{
|
|
GPBUtil::checkDouble($var);
|
|
$this->width_offset = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double horizontal_offset = 6;</code>
|
|
* @return float
|
|
*/
|
|
public function getHorizontalOffset()
|
|
{
|
|
return $this->horizontal_offset;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>double horizontal_offset = 6;</code>
|
|
* @param float $var
|
|
* @return $this
|
|
*/
|
|
public function setHorizontalOffset($var)
|
|
{
|
|
GPBUtil::checkDouble($var);
|
|
$this->horizontal_offset = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|