rv.data.Graphics.Text.LineFillMask */ class LineFillMask extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field bool enabled = 1; */ protected $enabled = false; /** * Generated from protobuf field double height_offset = 2; */ protected $height_offset = 0.0; /** * Generated from protobuf field double vertical_offset = 3; */ protected $vertical_offset = 0.0; /** * Generated from protobuf field .rv.data.Graphics.Text.LineFillMask.LineMaskStyle mask_style = 4; */ protected $mask_style = 0; /** * Generated from protobuf field double width_offset = 5; */ protected $width_offset = 0.0; /** * Generated from protobuf field double horizontal_offset = 6; */ 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 bool enabled = 1; * @return bool */ public function getEnabled() { return $this->enabled; } /** * Generated from protobuf field bool enabled = 1; * @param bool $var * @return $this */ public function setEnabled($var) { GPBUtil::checkBool($var); $this->enabled = $var; return $this; } /** * Generated from protobuf field double height_offset = 2; * @return float */ public function getHeightOffset() { return $this->height_offset; } /** * Generated from protobuf field double height_offset = 2; * @param float $var * @return $this */ public function setHeightOffset($var) { GPBUtil::checkDouble($var); $this->height_offset = $var; return $this; } /** * Generated from protobuf field double vertical_offset = 3; * @return float */ public function getVerticalOffset() { return $this->vertical_offset; } /** * Generated from protobuf field double vertical_offset = 3; * @param float $var * @return $this */ public function setVerticalOffset($var) { GPBUtil::checkDouble($var); $this->vertical_offset = $var; return $this; } /** * Generated from protobuf field .rv.data.Graphics.Text.LineFillMask.LineMaskStyle mask_style = 4; * @return int */ public function getMaskStyle() { return $this->mask_style; } /** * Generated from protobuf field .rv.data.Graphics.Text.LineFillMask.LineMaskStyle mask_style = 4; * @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 double width_offset = 5; * @return float */ public function getWidthOffset() { return $this->width_offset; } /** * Generated from protobuf field double width_offset = 5; * @param float $var * @return $this */ public function setWidthOffset($var) { GPBUtil::checkDouble($var); $this->width_offset = $var; return $this; } /** * Generated from protobuf field double horizontal_offset = 6; * @return float */ public function getHorizontalOffset() { return $this->horizontal_offset; } /** * Generated from protobuf field double horizontal_offset = 6; * @param float $var * @return $this */ public function setHorizontalOffset($var) { GPBUtil::checkDouble($var); $this->horizontal_offset = $var; return $this; } }