com.aspose.slides
Class Rotation3D

java.lang.Object
  extended by com.aspose.slides.Rotation3D
All Implemented Interfaces:
IRotation3D

public class Rotation3D
extends java.lang.Object
implements IRotation3D

Represents 3D rotation of a chart.


Method Summary
 int getDepthPercents()
           Returns or sets the depth of a 3D chart as a percentage of a chart width (between 20 and 2000 percent).
 int getHeightPercents()
           Specifies the height of a 3-D chart as a percentage of the chart width (between 5 and 500 percent).
 byte getPerspective()
           Returns or sets the perspective value (field of view angle) for 3D charts (between 0 and 100).
 boolean getRightAngleAxes()
           Determines whether the chart axes are at right angles, rather than drawn in perspective.
 byte getRotationX()
           Returns or sets the rotation degree in the X direction for 3D charts (between -90 and 90 degrees).
 int getRotationY()
           Returns or sets the rotation degree in the Y direction for 3D charts (between 0 and 360 degrees).
 void setDepthPercents(int value)
           
 void setHeightPercents(int value)
           
 void setPerspective(byte value)
           
 void setRightAngleAxes(boolean value)
           
 void setRotationX(byte value)
           
 void setRotationY(int value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRotationX

public byte getRotationX()

Returns or sets the rotation degree in the X direction for 3D charts (between -90 and 90 degrees). Read/write int.

Specified by:
getRotationX in interface IRotation3D

setRotationX

public void setRotationX(byte value)
Specified by:
setRotationX in interface IRotation3D

getRotationY

public int getRotationY()

Returns or sets the rotation degree in the Y direction for 3D charts (between 0 and 360 degrees). Read/write int.

Specified by:
getRotationY in interface IRotation3D

setRotationY

public void setRotationY(int value)
Specified by:
setRotationY in interface IRotation3D

getPerspective

public byte getPerspective()

Returns or sets the perspective value (field of view angle) for 3D charts (between 0 and 100). Ignored if RightAngleAxes property value is true. Read/write int.

Specified by:
getPerspective in interface IRotation3D

setPerspective

public void setPerspective(byte value)
Specified by:
setPerspective in interface IRotation3D

getRightAngleAxes

public boolean getRightAngleAxes()

Determines whether the chart axes are at right angles, rather than drawn in perspective. In other words it determines whether the chart angles of axes are independent from chart rotation or elevation. Read/write bool.

Specified by:
getRightAngleAxes in interface IRotation3D

setRightAngleAxes

public void setRightAngleAxes(boolean value)
Specified by:
setRightAngleAxes in interface IRotation3D

getDepthPercents

public int getDepthPercents()

Returns or sets the depth of a 3D chart as a percentage of a chart width (between 20 and 2000 percent). Read/write int.

Specified by:
getDepthPercents in interface IRotation3D

setDepthPercents

public void setDepthPercents(int value)
Specified by:
setDepthPercents in interface IRotation3D

getHeightPercents

public int getHeightPercents()

Specifies the height of a 3-D chart as a percentage of the chart width (between 5 and 500 percent).

Specified by:
getHeightPercents in interface IRotation3D

setHeightPercents

public void setHeightPercents(int value)
Specified by:
setHeightPercents in interface IRotation3D