Beispiel #1
0
	/**
	 * I use this wrapper for default dot types,
	 * it just makes the code easier to read.
	 */
	public function __construct($colour, $size)
	{
		parent::anchor();
		$this->colour($colour)->size($size)->rotation(45)->sides(4);
	}
Beispiel #2
0
 /**
  * I use this wrapper for default dot types,
  * it just makes the code easier to read.
  */
 function s_box($colour, $size)
 {
     parent::anchor();
     $this->colour($colour)->size($size)->rotation(45)->sides(4);
 }