114 lines
2.8 KiB
PHP
114 lines
2.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\Text\Attributes;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.Graphics.Text.Attributes.Underline</code>
|
|
*/
|
|
class Underline extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes.Underline.Style style = 1;</code>
|
|
*/
|
|
protected $style = 0;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes.Underline.Pattern pattern = 2;</code>
|
|
*/
|
|
protected $pattern = 0;
|
|
/**
|
|
* Generated from protobuf field <code>bool by_word = 3;</code>
|
|
*/
|
|
protected $by_word = false;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type int $style
|
|
* @type int $pattern
|
|
* @type bool $by_word
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\GraphicsData::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes.Underline.Style style = 1;</code>
|
|
* @return int
|
|
*/
|
|
public function getStyle()
|
|
{
|
|
return $this->style;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes.Underline.Style style = 1;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setStyle($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Data\Graphics\Text\Attributes\Underline\Style::class);
|
|
$this->style = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes.Underline.Pattern pattern = 2;</code>
|
|
* @return int
|
|
*/
|
|
public function getPattern()
|
|
{
|
|
return $this->pattern;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Graphics.Text.Attributes.Underline.Pattern pattern = 2;</code>
|
|
* @param int $var
|
|
* @return $this
|
|
*/
|
|
public function setPattern($var)
|
|
{
|
|
GPBUtil::checkEnum($var, \Rv\Data\Graphics\Text\Attributes\Underline\Pattern::class);
|
|
$this->pattern = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool by_word = 3;</code>
|
|
* @return bool
|
|
*/
|
|
public function getByWord()
|
|
{
|
|
return $this->by_word;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool by_word = 3;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setByWord($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->by_word = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|