# depicter/1.2.0/app/src/Document/Models/Elements/Shape.php

Depicter — Popup &amp; Slider Builder, version 1.2.0. 23 lines.

- Page: https://pluginprobe.com/plugins/depicter/1.2.0/code/app/src/Document/Models/Elements/Shape.php
- Raw: https://pluginprobe.com/plugins/depicter/1.2.0/raw/app/src/Document/Models/Elements/Shape.php
- Modified: 2022-06-01T06:26:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/depicter/1.2.0/code/app/src/Document/Models/Elements/Shape.php#L10-L20`.

```php
<?php
namespace Depicter\Document\Models\Elements;

use Depicter\Document\Models;
use Depicter\Html\Html;

class Shape extends Models\Element
{

	public function render() {
		$shapeContent = '';

		$args = $this->getDefaultAttributes();
		$div = Html::div( $args, $shapeContent );

		if ( false !== $a = $this->getLinkTag() ) {
			return $a->nest( "\n" . $div ) . "\n" ;
		}

		return $div . "\n";
	}
}

```
