當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Image_Graph_Marker::Image_Graph_Marker方法代碼示例

本文整理匯總了PHP中Image_Graph_Marker::Image_Graph_Marker方法的典型用法代碼示例。如果您正苦於以下問題:PHP Image_Graph_Marker::Image_Graph_Marker方法的具體用法?PHP Image_Graph_Marker::Image_Graph_Marker怎麽用?PHP Image_Graph_Marker::Image_Graph_Marker使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Image_Graph_Marker的用法示例。


在下文中一共展示了Image_Graph_Marker::Image_Graph_Marker方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的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::Image_Graph_Marker();
     $this->_deltaX = $deltaX;
     $this->_deltaY = $deltaY;
     $this->_markerStart = null;
     $this->_markerEnd =& $markerEnd;
 }
開發者ID:chiranjeevjain,項目名稱:agilebill,代碼行數: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::Image_Graph_Marker();
     $this->_padding = array('left' => 2, 'top' => 2, 'right' => 2, 'bottom' => 2);
     $this->_useValue = $useValue;
     $this->_fillStyle = 'white';
     $this->_borderStyle = 'black';
 }
開發者ID:sacredwebsite,項目名稱:vtigercrm,代碼行數:15,代碼來源:Value.php

示例3:

 /**
  * 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::Image_Graph_Marker();
     $this->_padding = 2;
     $this->_useValue = $useValue;
     $this->_fillStyle = 'white';
     $this->_borderStyle = 'black';
 }
開發者ID:jamesiarmes,項目名稱:php-ups-api,代碼行數:15,代碼來源:Value.php

示例4:

 /**
  * 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::Image_Graph_Marker();
     $this->_filename = $filename;
 }
開發者ID:jamesiarmes,項目名稱:php-ups-api,代碼行數:12,代碼來源:Icon.php


注:本文中的Image_Graph_Marker::Image_Graph_Marker方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。