示例#1
0
 /**
  * Adds "splined" vertex to a polygon
  *
  * Parameter array:
  * 'x': int X point
  * 'y': int Y point
  * 'p1x': X Control point 1
  * 'p1y': Y Control point 1
  * 'p2x': X Control point 2
  * 'p2y': Y Control point 2
  * @param array $params Parameter array
  */
 function addSpline($params)
 {
     if (isset($this->_imageMap)) {
         $this->_imageMap->addSpline($params);
     }
     parent::addSpline($params);
 }