当前位置: 首页>>代码示例>>PHP>>正文


PHP Image_Graph_Marker::__construct方法代码示例

本文整理汇总了PHP中Image_Graph_Marker::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Image_Graph_Marker::__construct方法的具体用法?PHP Image_Graph_Marker::__construct怎么用?PHP Image_Graph_Marker::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Image_Graph_Marker的用法示例。


在下文中一共展示了Image_Graph_Marker::__construct方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

 /**
  * Create an pointing marker, ie a pin on a board
  *
  * @param int    $deltaX     The the X offset from the real 'data' point
  * @param int    $deltaY     The the Y offset from the real 'data' point
  * @param Marker &$markerEnd The ending marker that represents 'the head of
  *   the pin'
  */
 function Image_Graph_Marker_Pointing($deltaX, $deltaY, &$markerEnd)
 {
     parent::__construct();
     $this->_deltaX = $deltaX;
     $this->_deltaY = $deltaY;
     $this->_markerStart = null;
     $this->_markerEnd =& $markerEnd;
 }
开发者ID:janaece,项目名称:globalclassroom4_clean,代码行数:16,代码来源:Pointing.php

示例2: array

 /**
  * Create a value marker, ie a box containing the value of the 'pointing
  * data'
  *
  * @param int $useValue Defines which value to use from the dataset, i.e. the
  *   X or Y value
  */
 function Image_Graph_Marker_Value($useValue = IMAGE_GRAPH_VALUE_X)
 {
     parent::__construct();
     $this->_padding = array('left' => 2, 'top' => 2, 'right' => 2, 'bottom' => 2);
     $this->_useValue = $useValue;
     $this->_fillStyle = 'white';
     $this->_borderStyle = 'black';
 }
开发者ID:richardmansfield,项目名称:richardms-mahara,代码行数:15,代码来源:Value.php

示例3:

 /**
  * Create an pointing marker, ie a pin on a board
  *
  * @param int $deltaX The the X offset from the real 'data' point
  * @param int $deltaY The the Y offset from the real 'data' point
  * @param Marker $markerEnd The ending marker that represents 'the head of
  *   the pin'
  */
 function __construct($deltaX, $deltaY, &$markerEnd)
 {
     parent::__construct();
     $this->_deltaX = $deltaX;
     $this->_deltaY = $deltaY;
     $this->_markerStart = null;
     $this->_markerEnd =& $markerEnd;
 }
开发者ID:Spark-Eleven,项目名称:revive-adserver,代码行数:16,代码来源:Pointing.php

示例4:

 /**
  * Create a value marker, ie a box containing the value of the "pointing data"
  * @param int $useValue Defines which value to use from the dataset, ie the X or Y value 
  */
 function &Image_Graph_Marker_Value($useValue = IMAGE_GRAPH_VALUE_X)
 {
     parent::__construct();
     $this->_padding = 2;
     $this->_useValue = $useValue;
     $this->setFont($GLOBALS['_Image_Graph_font']);
     $this->_fillStyle = IMAGE_GRAPH_WHITE;
     $this->_borderStyle = IMAGE_GRAPH_BLACK;
 }
开发者ID:Apeplazas,项目名称:plazadelatecnologia,代码行数:13,代码来源:Value.php

示例5:

 /**
  * Create an icon marker
  *
  * @param string $filename The filename of the icon
  * @param int $width The 'new' width of the icon if it is to be resized
  * @param int $height The 'new' height of the icon if it is to be resized
  */
 function Image_Graph_Marker_Icon($filename, $width = 0, $height = 0)
 {
     parent::__construct();
     $this->_filename = $filename;
 }
开发者ID:Apeplazas,项目名称:plazadelatecnologia,代码行数:12,代码来源:Icon.php

示例6:

 /**
  * Create an icon marker
  *
  * @param string $filename The filename of the icon
  * @param int $width The 'new' width of the icon if it is to be resized
  * @param int $height The 'new' height of the icon if it is to be resized
  */
 function __construct($filename, $width = 0, $height = 0)
 {
     parent::__construct();
     $this->_filename = $filename;
 }
开发者ID:Spark-Eleven,项目名称:revive-adserver,代码行数:12,代码来源:Icon.php


注:本文中的Image_Graph_Marker::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。