You are here

class ThreeDimensionalOptions in Charts 8.3

Hierarchy

  • class \Drupal\charts_highcharts\Settings\Highcharts\ThreeDimensionalOptions implements \Drupal\charts_highcharts\Settings\Highcharts\JsonSerializable

Expanded class hierarchy of ThreeDimensionalOptions

1 file declares its use of ThreeDimensionalOptions
Highcharts.php in modules/charts_highcharts/src/Plugin/chart/Highcharts.php

File

modules/charts_highcharts/src/Settings/Highcharts/ThreeDimensionalOptions.php, line 6

Namespace

Drupal\charts_highcharts\Settings\Highcharts
View source
class ThreeDimensionalOptions implements \JsonSerializable {
  private $enabled = TRUE;
  private $alpha = 0;
  private $beta = 0;
  private $viewDistance = 0;

  /**
   * Get enabled value.
   *
   * @return boolean
   *   The enabled value.
   */
  public function getEnabled() {
    return $this->enabled;
  }

  /**
   * Set enabled value.
   *
   * @param integer
   *   The enabled value.
   */
  public function setEnabled($enabled) {
    $this->enabled = $enabled;
  }

  /**
   * Get alpha value.
   *
   * @return integer
   *   The alpha value.
   */
  public function getAlpha() {
    return $this->alpha;
  }

  /**
   * Set alpha value.
   *
   * @param integer
   *   The alpha value.
   */
  public function setAlpha($alpha) {
    $this->alpha = $alpha;
  }

  /**
   * Get beta value.
   *
   * @return integer
   *   The beta value.
   */
  public function getBeta() {
    return $this->beta;
  }

  /**
   * Set beta value.
   *
   * @param integer
   *   The beta value.
   */
  public function setBeta($beta) {
    $this->beta = $beta;
  }

  /**
   * @return int
   */
  public function getViewDistance() {
    return $this->viewDistance;
  }

  /**
   * @param int $viewDistance
   */
  public function setViewDistance($viewDistance) {
    $this->viewDistance = $viewDistance;
  }

  /**
   * Json Serialize.
   *
   * @return array
   *   Json Serialize.
   */
  public function jsonSerialize() {
    $vars = get_object_vars($this);
    return $vars;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
ThreeDimensionalOptions::$alpha private property
ThreeDimensionalOptions::$beta private property
ThreeDimensionalOptions::$enabled private property
ThreeDimensionalOptions::$viewDistance private property
ThreeDimensionalOptions::getAlpha public function Get alpha value.
ThreeDimensionalOptions::getBeta public function Get beta value.
ThreeDimensionalOptions::getEnabled public function Get enabled value.
ThreeDimensionalOptions::getViewDistance public function
ThreeDimensionalOptions::jsonSerialize public function Json Serialize.
ThreeDimensionalOptions::setAlpha public function Set alpha value.
ThreeDimensionalOptions::setBeta public function Set beta value.
ThreeDimensionalOptions::setEnabled public function Set enabled value.
ThreeDimensionalOptions::setViewDistance public function