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

Source for file BevelStyle.php

Documentation is available at BevelStyle.php

  1. <?php
  2.  
  3.  /**
  4.  * BevelStyle class
  5.  *
  6.  * Description: Defines the styles of the bevels (frames) around rectangles
  7.  *
  8.  * @author
  9.  * @copyright (c) 1995-2010 by Steema Software SL. All Rights Reserved. <info@steema.com>
  10.  * @version 1.0
  11.  * @package TeeChartPHP
  12.  * @link http://www.steema.com
  13.  */
  14.  
  15. final class BevelStyle
  16. {
  17.    /**
  18.    * No bevel.
  19.    */
  20.    public static $NONE 0;
  21.    /**
  22.    * Lowered Bevel.
  23.    */
  24.    public static $LOWERED 1;
  25.    /**
  26.    * Raised bevel.
  27.    */
  28.    public static $RAISED 2;
  29.  
  30.    public function BevelStyle()  {}
  31.  
  32.    static public function fromValue($value)
  33.    {
  34.       switch($value)
  35.       {
  36.          case 0:
  37.             return self::$NONE;
  38.          case 1:
  39.             return self::$LOWERED;
  40.          default:
  41.             return self::$RAISED;
  42.       }
  43.    }
  44. }
  45. ?>

Documentation generated on Wed, 16 Jun 2010 12:03:27 +0200 by phpDocumentor 1.4.1