rv.data.Graphics.Text.Attributes.Paragraph */ class Paragraph extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.data.Graphics.Text.Attributes.Alignment alignment = 1; */ protected $alignment = 0; /** * Generated from protobuf field double first_line_head_indent = 2; */ protected $first_line_head_indent = 0.0; /** * Generated from protobuf field double head_indent = 3; */ protected $head_indent = 0.0; /** * Generated from protobuf field double tail_indent = 4; */ protected $tail_indent = 0.0; /** * Generated from protobuf field double line_height_multiple = 5; */ protected $line_height_multiple = 0.0; /** * Generated from protobuf field double maximum_line_height = 6; */ protected $maximum_line_height = 0.0; /** * Generated from protobuf field double minimum_line_height = 7; */ protected $minimum_line_height = 0.0; /** * Generated from protobuf field double line_spacing = 8; */ protected $line_spacing = 0.0; /** * Generated from protobuf field double paragraph_spacing = 9; */ protected $paragraph_spacing = 0.0; /** * Generated from protobuf field double paragraph_spacing_before = 10; */ protected $paragraph_spacing_before = 0.0; /** * Generated from protobuf field repeated .rv.data.Graphics.Text.Attributes.Paragraph.TabStop tab_stops = 11; */ private $tab_stops; /** * Generated from protobuf field double default_tab_interval = 12; */ protected $default_tab_interval = 0.0; /** * Generated from protobuf field .rv.data.Graphics.Text.Attributes.Paragraph.TextList text_list = 13; */ protected $text_list = null; /** * Generated from protobuf field repeated .rv.data.Graphics.Text.Attributes.Paragraph.TextList text_lists = 14; */ private $text_lists; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $alignment * @type float $first_line_head_indent * @type float $head_indent * @type float $tail_indent * @type float $line_height_multiple * @type float $maximum_line_height * @type float $minimum_line_height * @type float $line_spacing * @type float $paragraph_spacing * @type float $paragraph_spacing_before * @type array<\Rv\Data\Graphics\Text\Attributes\Paragraph\TabStop>|\Google\Protobuf\Internal\RepeatedField $tab_stops * @type float $default_tab_interval * @type \Rv\Data\Graphics\Text\Attributes\Paragraph\TextList $text_list * @type array<\Rv\Data\Graphics\Text\Attributes\Paragraph\TextList>|\Google\Protobuf\Internal\RepeatedField $text_lists * } */ public function __construct($data = NULL) { \GPBMetadata\GraphicsData::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.data.Graphics.Text.Attributes.Alignment alignment = 1; * @return int */ public function getAlignment() { return $this->alignment; } /** * Generated from protobuf field .rv.data.Graphics.Text.Attributes.Alignment alignment = 1; * @param int $var * @return $this */ public function setAlignment($var) { GPBUtil::checkEnum($var, \Rv\Data\Graphics\Text\Attributes\Alignment::class); $this->alignment = $var; return $this; } /** * Generated from protobuf field double first_line_head_indent = 2; * @return float */ public function getFirstLineHeadIndent() { return $this->first_line_head_indent; } /** * Generated from protobuf field double first_line_head_indent = 2; * @param float $var * @return $this */ public function setFirstLineHeadIndent($var) { GPBUtil::checkDouble($var); $this->first_line_head_indent = $var; return $this; } /** * Generated from protobuf field double head_indent = 3; * @return float */ public function getHeadIndent() { return $this->head_indent; } /** * Generated from protobuf field double head_indent = 3; * @param float $var * @return $this */ public function setHeadIndent($var) { GPBUtil::checkDouble($var); $this->head_indent = $var; return $this; } /** * Generated from protobuf field double tail_indent = 4; * @return float */ public function getTailIndent() { return $this->tail_indent; } /** * Generated from protobuf field double tail_indent = 4; * @param float $var * @return $this */ public function setTailIndent($var) { GPBUtil::checkDouble($var); $this->tail_indent = $var; return $this; } /** * Generated from protobuf field double line_height_multiple = 5; * @return float */ public function getLineHeightMultiple() { return $this->line_height_multiple; } /** * Generated from protobuf field double line_height_multiple = 5; * @param float $var * @return $this */ public function setLineHeightMultiple($var) { GPBUtil::checkDouble($var); $this->line_height_multiple = $var; return $this; } /** * Generated from protobuf field double maximum_line_height = 6; * @return float */ public function getMaximumLineHeight() { return $this->maximum_line_height; } /** * Generated from protobuf field double maximum_line_height = 6; * @param float $var * @return $this */ public function setMaximumLineHeight($var) { GPBUtil::checkDouble($var); $this->maximum_line_height = $var; return $this; } /** * Generated from protobuf field double minimum_line_height = 7; * @return float */ public function getMinimumLineHeight() { return $this->minimum_line_height; } /** * Generated from protobuf field double minimum_line_height = 7; * @param float $var * @return $this */ public function setMinimumLineHeight($var) { GPBUtil::checkDouble($var); $this->minimum_line_height = $var; return $this; } /** * Generated from protobuf field double line_spacing = 8; * @return float */ public function getLineSpacing() { return $this->line_spacing; } /** * Generated from protobuf field double line_spacing = 8; * @param float $var * @return $this */ public function setLineSpacing($var) { GPBUtil::checkDouble($var); $this->line_spacing = $var; return $this; } /** * Generated from protobuf field double paragraph_spacing = 9; * @return float */ public function getParagraphSpacing() { return $this->paragraph_spacing; } /** * Generated from protobuf field double paragraph_spacing = 9; * @param float $var * @return $this */ public function setParagraphSpacing($var) { GPBUtil::checkDouble($var); $this->paragraph_spacing = $var; return $this; } /** * Generated from protobuf field double paragraph_spacing_before = 10; * @return float */ public function getParagraphSpacingBefore() { return $this->paragraph_spacing_before; } /** * Generated from protobuf field double paragraph_spacing_before = 10; * @param float $var * @return $this */ public function setParagraphSpacingBefore($var) { GPBUtil::checkDouble($var); $this->paragraph_spacing_before = $var; return $this; } /** * Generated from protobuf field repeated .rv.data.Graphics.Text.Attributes.Paragraph.TabStop tab_stops = 11; * @return \Google\Protobuf\Internal\RepeatedField */ public function getTabStops() { return $this->tab_stops; } /** * Generated from protobuf field repeated .rv.data.Graphics.Text.Attributes.Paragraph.TabStop tab_stops = 11; * @param array<\Rv\Data\Graphics\Text\Attributes\Paragraph\TabStop>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setTabStops($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Graphics\Text\Attributes\Paragraph\TabStop::class); $this->tab_stops = $arr; return $this; } /** * Generated from protobuf field double default_tab_interval = 12; * @return float */ public function getDefaultTabInterval() { return $this->default_tab_interval; } /** * Generated from protobuf field double default_tab_interval = 12; * @param float $var * @return $this */ public function setDefaultTabInterval($var) { GPBUtil::checkDouble($var); $this->default_tab_interval = $var; return $this; } /** * Generated from protobuf field .rv.data.Graphics.Text.Attributes.Paragraph.TextList text_list = 13; * @return \Rv\Data\Graphics\Text\Attributes\Paragraph\TextList|null */ public function getTextList() { return $this->text_list; } public function hasTextList() { return isset($this->text_list); } public function clearTextList() { unset($this->text_list); } /** * Generated from protobuf field .rv.data.Graphics.Text.Attributes.Paragraph.TextList text_list = 13; * @param \Rv\Data\Graphics\Text\Attributes\Paragraph\TextList $var * @return $this */ public function setTextList($var) { GPBUtil::checkMessage($var, \Rv\Data\Graphics\Text\Attributes\Paragraph\TextList::class); $this->text_list = $var; return $this; } /** * Generated from protobuf field repeated .rv.data.Graphics.Text.Attributes.Paragraph.TextList text_lists = 14; * @return \Google\Protobuf\Internal\RepeatedField */ public function getTextLists() { return $this->text_lists; } /** * Generated from protobuf field repeated .rv.data.Graphics.Text.Attributes.Paragraph.TextList text_lists = 14; * @param array<\Rv\Data\Graphics\Text\Attributes\Paragraph\TextList>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setTextLists($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Graphics\Text\Attributes\Paragraph\TextList::class); $this->text_lists = $arr; return $this; } }