TeeChartPHP
[ class tree: TeeChartPHP ] [ index: TeeChartPHP ] [ all elements ]

Source for file LineCap.php

Documentation is available at LineCap.php

  1. <?php
  2.  
  3.  /**
  4.  * LineCap class
  5.  *
  6.  * Description:
  7.  *
  8.  * @author
  9.  * @copyright (c) 1995-2008 by Steema Software SL. All Rights Reserved. <info@steema.com>
  10.  * @version 1.0
  11.  * @package TeeChartPHP
  12.  * @subpackage drawing
  13.  * @link http://www.steema.com
  14.  */
  15.  
  16.  class LineCap {
  17.  
  18.     /**
  19.       * Defines a beveled union style between line segments
  20.       */
  21.     public static $BEVEL 0// BasicStroke.JOIN_BEVEL
  22.  
  23.     /**
  24.       * Defines a miter union style between line segments
  25.       */
  26.     public static $MITER 1//BasicStroke.JOIN_MITER
  27.  
  28.     /**
  29.       * Defines a round union style between line segments
  30.       */
  31.     public static $ROUND 2//BasicStroke.JOIN_ROUND
  32.  
  33.     public function LineCap({
  34.     }
  35.  
  36.     public function fromValue($value{
  37.         switch ($value{
  38.         case 0:
  39.             return self::$BEVEL;
  40.         case 1:
  41.             return self::$MITER;
  42.         default:
  43.             return self::$ROUND;
  44.         }
  45.     }
  46. }
  47.  
  48. ?>

Documentation generated on Wed, 16 Jun 2010 12:06:54 +0200 by phpDocumentor 1.4.1