rv.data.Graphics.EdgeInsets */ class EdgeInsets extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field double left = 1; */ protected $left = 0.0; /** * Generated from protobuf field double right = 2; */ protected $right = 0.0; /** * Generated from protobuf field double top = 3; */ protected $top = 0.0; /** * Generated from protobuf field double bottom = 4; */ protected $bottom = 0.0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type float $left * @type float $right * @type float $top * @type float $bottom * } */ public function __construct($data = NULL) { \GPBMetadata\GraphicsData::initOnce(); parent::__construct($data); } /** * Generated from protobuf field double left = 1; * @return float */ public function getLeft() { return $this->left; } /** * Generated from protobuf field double left = 1; * @param float $var * @return $this */ public function setLeft($var) { GPBUtil::checkDouble($var); $this->left = $var; return $this; } /** * Generated from protobuf field double right = 2; * @return float */ public function getRight() { return $this->right; } /** * Generated from protobuf field double right = 2; * @param float $var * @return $this */ public function setRight($var) { GPBUtil::checkDouble($var); $this->right = $var; return $this; } /** * Generated from protobuf field double top = 3; * @return float */ public function getTop() { return $this->top; } /** * Generated from protobuf field double top = 3; * @param float $var * @return $this */ public function setTop($var) { GPBUtil::checkDouble($var); $this->top = $var; return $this; } /** * Generated from protobuf field double bottom = 4; * @return float */ public function getBottom() { return $this->bottom; } /** * Generated from protobuf field double bottom = 4; * @param float $var * @return $this */ public function setBottom($var) { GPBUtil::checkDouble($var); $this->bottom = $var; return $this; } }