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\HighchartsView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ThreeDimensionalOptions:: |
private | property | ||
ThreeDimensionalOptions:: |
private | property | ||
ThreeDimensionalOptions:: |
private | property | ||
ThreeDimensionalOptions:: |
private | property | ||
ThreeDimensionalOptions:: |
public | function | Get alpha value. | |
ThreeDimensionalOptions:: |
public | function | Get beta value. | |
ThreeDimensionalOptions:: |
public | function | Get enabled value. | |
ThreeDimensionalOptions:: |
public | function | ||
ThreeDimensionalOptions:: |
public | function | Json Serialize. | |
ThreeDimensionalOptions:: |
public | function | Set alpha value. | |
ThreeDimensionalOptions:: |
public | function | Set beta value. | |
ThreeDimensionalOptions:: |
public | function | Set enabled value. | |
ThreeDimensionalOptions:: |
public | function |