Esempio n. 1
0
 /**
  * Factory method to create vertical layout.
  *
  * See {@link Image_Graph::layoutFactory()}
  *
  * @param Image_Graph_Element $part1 The 1st (top) part of the layout
  * @param Image_Graph_Element $part2 The 2nd (bottom) part of the layout
  * @param int $percentage The percentage of the layout to split at
  *   (percentage of total width from the top edge)
  * @return Image_Graph_Layout The newly created layout object
  * @static
  */
 function &vertical(&$part1, &$part2, $percentage = 50)
 {
     $obj =& Image_Graph::layoutFactory('Vertical', $part1, $part2, $percentage);
     return $obj;
 }