rotationX; } /** * Set Rotation X (-90 to 90) * * @param int $pValue * @return \PhpOffice\PhpPresentation\Shape\Chart\View3D */ public function setRotationX($pValue = 0) { $this->rotationX = $pValue; return $this; } /** * Get Rotation Y * * @return int */ public function getRotationY() { return $this->rotationY; } /** * Set Rotation Y (-90 to 90) * * @param int $pValue * @return \PhpOffice\PhpPresentation\Shape\Chart\View3D */ public function setRotationY($pValue = 0) { $this->rotationY = $pValue; return $this; } /** * Get RightAngleAxes * * @return boolean */ public function hasRightAngleAxes() { return $this->rightAngleAxes; } /** * Set RightAngleAxes * * @param boolean $value * @return \PhpOffice\PhpPresentation\Shape\Chart\View3D */ public function setRightAngleAxes($value = true) { $this->rightAngleAxes = $value; return $this; } /** * Get Perspective * * @return int */ public function getPerspective() { return $this->perspective; } /** * Set Perspective (0 to 100) * * @param int $value * @return \PhpOffice\PhpPresentation\Shape\Chart\View3D */ public function setPerspective($value = 30) { $this->perspective = $value; return $this; } /** * Get HeightPercent * * @return int */ public function getHeightPercent() { return $this->heightPercent; } /** * Set HeightPercent (5 to 500) * * @param int $value * @return $this */ public function setHeightPercent($value = 100) { $this->heightPercent = $value; return $this; } /** * Get DepthPercent * * @return int */ public function getDepthPercent() { return $this->depthPercent; } /** * Set DepthPercent (20 to 2000) * * @param int $value * @return $this */ public function setDepthPercent($value = 100) { $this->depthPercent = $value; return $this; } /** * Get hash code * * @return string Hash code */ public function getHashCode() { return md5($this->rotationX . $this->rotationY . ($this->rightAngleAxes ? 't' : 'f') . $this->perspective . $this->heightPercent . $this->depthPercent . __CLASS__); } /** * Get hash index * * Note that this index may vary during script execution! Only reliable moment is * while doing a write of a workbook and when changes are not allowed. * * @return string Hash index */ public function getHashIndex() { return $this->hashIndex; } /** * Set hash index * * Note that this index may vary during script execution! Only reliable moment is * while doing a write of a workbook and when changes are not allowed. * * @param string $value Hash index * @return View3D */ public function setHashIndex($value) { $this->hashIndex = $value; return $this; } }