MDL-61657 block_myoverview: implement course images for the myoverview block
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
4450d19ae1
commit
c8cc25caba
@@ -0,0 +1,17 @@
|
||||
<?php namespace RedeyeVentures\GeoPattern\SVGElements;
|
||||
|
||||
class Rectangle extends Base
|
||||
{
|
||||
protected $tag = 'rect';
|
||||
|
||||
function __construct($x, $y, $width, $height, $args=array())
|
||||
{
|
||||
$this->elements = [
|
||||
'x' => $x,
|
||||
'y' => $y,
|
||||
'width' => $width,
|
||||
'height' => $height,
|
||||
];
|
||||
parent::__construct($args);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user