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

namespace Rv\Data\Graphics\Path\Shape;

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

/**
 * Generated from protobuf message <code>rv.data.Graphics.Path.Shape.Arrow</code>
 */
class Arrow extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.Graphics.Point corner = 1;</code>
     */
    protected $corner = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Data\Graphics\Point $corner
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\GraphicsData::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.rv.data.Graphics.Point corner = 1;</code>
     * @return \Rv\Data\Graphics\Point|null
     */
    public function getCorner()
    {
        return $this->corner;
    }

    public function hasCorner()
    {
        return isset($this->corner);
    }

    public function clearCorner()
    {
        unset($this->corner);
    }

    /**
     * Generated from protobuf field <code>.rv.data.Graphics.Point corner = 1;</code>
     * @param \Rv\Data\Graphics\Point $var
     * @return $this
     */
    public function setCorner($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\Graphics\Point::class);
        $this->corner = $var;

        return $this;
    }

}

