<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: graphicsData.proto

namespace Rv\Data\Graphics;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Generated from protobuf message <code>rv.data.Graphics.EdgeInsets</code>
 */
class EdgeInsets extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>double left = 1;</code>
     */
    protected $left = 0.0;
    /**
     * Generated from protobuf field <code>double right = 2;</code>
     */
    protected $right = 0.0;
    /**
     * Generated from protobuf field <code>double top = 3;</code>
     */
    protected $top = 0.0;
    /**
     * Generated from protobuf field <code>double bottom = 4;</code>
     */
    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 <code>double left = 1;</code>
     * @return float
     */
    public function getLeft()
    {
        return $this->left;
    }

    /**
     * Generated from protobuf field <code>double left = 1;</code>
     * @param float $var
     * @return $this
     */
    public function setLeft($var)
    {
        GPBUtil::checkDouble($var);
        $this->left = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>double right = 2;</code>
     * @return float
     */
    public function getRight()
    {
        return $this->right;
    }

    /**
     * Generated from protobuf field <code>double right = 2;</code>
     * @param float $var
     * @return $this
     */
    public function setRight($var)
    {
        GPBUtil::checkDouble($var);
        $this->right = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>double top = 3;</code>
     * @return float
     */
    public function getTop()
    {
        return $this->top;
    }

    /**
     * Generated from protobuf field <code>double top = 3;</code>
     * @param float $var
     * @return $this
     */
    public function setTop($var)
    {
        GPBUtil::checkDouble($var);
        $this->top = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>double bottom = 4;</code>
     * @return float
     */
    public function getBottom()
    {
        return $this->bottom;
    }

    /**
     * Generated from protobuf field <code>double bottom = 4;</code>
     * @param float $var
     * @return $this
     */
    public function setBottom($var)
    {
        GPBUtil::checkDouble($var);
        $this->bottom = $var;

        return $this;
    }

}

