View3D
in package
implements
ComparableInterface
\PhpOffice\PhpPresentation\Shape\Chart\View3D.
Table of Contents
Interfaces
- ComparableInterface
- PhpOffice\PhpPresentation\ComparableInterface.
Properties
- $rotationX : int
- Rotation X.
- $rotationY : int
- Rotation Y.
- $depthPercent : int
- Depth Percent.
- $hashIndex : int
- Hash index.
- $heightPercent : null|int
- Height Percent.
- $perspective : int
- Perspective.
- $rightAngleAxes : bool
- Right Angle Axes.
Methods
- __construct() : mixed
- Create a new \PhpOffice\PhpPresentation\Shape\Chart\View3D instance.
- getDepthPercent() : int|null
- Get DepthPercent.
- getHashCode() : string
- Get hash code.
- getHashIndex() : null|int
- Get hash index.
- getHeightPercent() : int
- Get HeightPercent.
- getPerspective() : int
- Get Perspective.
- getRotationX() : int
- Get Rotation X.
- getRotationY() : int
- Get Rotation Y.
- hasRightAngleAxes() : bool
- Get RightAngleAxes.
- setDepthPercent() : $this
- Set DepthPercent (20 to 2000).
- setHashIndex() : View3D
- Set hash index.
- setHeightPercent() : self
- Set HeightPercent (5 to 500).
- setPerspective() : View3D
- Set Perspective (0 to 100).
- setRightAngleAxes() : View3D
- Set RightAngleAxes.
- setRotationX() : View3D
- Set Rotation X (-90 to 90).
- setRotationY() : View3D
- Set Rotation Y (-90 to 90).
Properties
$rotationX
Rotation X.
protected
int
$rotationX
= 0
$rotationY
Rotation Y.
protected
int
$rotationY
= 0
$depthPercent
Depth Percent.
private
int
$depthPercent
= 100
$hashIndex
Hash index.
private
int
$hashIndex
$heightPercent
Height Percent.
private
null|int
$heightPercent
= 100
$perspective
Perspective.
private
int
$perspective
= 30
$rightAngleAxes
Right Angle Axes.
private
bool
$rightAngleAxes
= true
Methods
__construct()
Create a new \PhpOffice\PhpPresentation\Shape\Chart\View3D instance.
public
__construct() : mixed
getDepthPercent()
Get DepthPercent.
public
getDepthPercent() : int|null
Return values
int|nullgetHashCode()
Get hash code.
public
getHashCode() : string
Return values
string —Hash code
getHashIndex()
Get hash index.
public
getHashIndex() : null|int
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 values
null|int —Hash index
getHeightPercent()
Get HeightPercent.
public
getHeightPercent() : int
Return values
intgetPerspective()
Get Perspective.
public
getPerspective() : int
Return values
intgetRotationX()
Get Rotation X.
public
getRotationX() : int
Return values
intgetRotationY()
Get Rotation Y.
public
getRotationY() : int
Return values
inthasRightAngleAxes()
Get RightAngleAxes.
public
hasRightAngleAxes() : bool
Return values
boolsetDepthPercent()
Set DepthPercent (20 to 2000).
public
setDepthPercent([int $value = 100 ]) : $this
Parameters
- $value : int = 100
Return values
$thissetHashIndex()
Set hash index.
public
setHashIndex(int $value) : View3D
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.
Parameters
- $value : int
-
Hash index
Return values
View3DsetHeightPercent()
Set HeightPercent (5 to 500).
public
setHeightPercent([int|null $value = 100 ]) : self
Parameters
- $value : int|null = 100
Return values
selfsetPerspective()
Set Perspective (0 to 100).
public
setPerspective([int $value = 30 ]) : View3D
Parameters
- $value : int = 30
Return values
View3DsetRightAngleAxes()
Set RightAngleAxes.
public
setRightAngleAxes([bool $value = true ]) : View3D
Parameters
- $value : bool = true
Return values
View3DsetRotationX()
Set Rotation X (-90 to 90).
public
setRotationX([int $pValue = 0 ]) : View3D
Parameters
- $pValue : int = 0
Return values
View3DsetRotationY()
Set Rotation Y (-90 to 90).
public
setRotationY([int $pValue = 0 ]) : View3D
Parameters
- $pValue : int = 0