com.aspose.slides.pptx
Class CameraEx

java.lang.Object
  extended by com.aspose.slides.pptx.CameraEx

public class CameraEx
extends java.lang.Object

Represents a camera object.


Constructor Summary
CameraEx()
           
 
Method Summary
 CameraPresetTypeEx getCameraType()
          Returns the camera type.
 float getFieldOfViewAngle()
          Returns the FOV of a camera (0-180 degree, field of View).
 float[] getRotation()
          A rotation is defined through the use of a latitude coordinate, a longitude coordinate, and a revolution about the axis as the latitude and longitude coordinates. first element in return array - latitude, second - longitude, third - revolution.
 float getZoom()
          Returns the camera zoom (positive percentage value).
 void setCameraType(CameraPresetTypeEx value)
          Sets the camera type.
 void setFieldOfViewAngle(float value)
          Sets the FOV of a camera (0-180 degree, field of View).
 void setRotation(float latitude, float longitude, float revolution)
          A rotation is defined through the use of a latitude coordinate, a longitude coordinate, and a revolution about the axis as the latitude and longitude coordinates.
 void setZoom(float value)
          Sets the camera zoom (positive percentage value).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CameraEx

public CameraEx()
Method Detail

getCameraType

public CameraPresetTypeEx getCameraType()
Returns the camera type. See CameraPresetTypeEx.


setCameraType

public void setCameraType(CameraPresetTypeEx value)
Sets the camera type.

Parameters:
value - new camera type. See CameraPresetTypeEx.

getFieldOfViewAngle

public float getFieldOfViewAngle()
Returns the FOV of a camera (0-180 degree, field of View).


setFieldOfViewAngle

public void setFieldOfViewAngle(float value)
Sets the FOV of a camera (0-180 degree, field of View).

Parameters:
value - FOV of a camera.

getZoom

public float getZoom()
Returns the camera zoom (positive percentage value).


setZoom

public void setZoom(float value)
Sets the camera zoom (positive percentage value).

Parameters:
value - new camera zoom.

setRotation

public void setRotation(float latitude,
                        float longitude,
                        float revolution)
A rotation is defined through the use of a latitude coordinate, a longitude coordinate, and a revolution about the axis as the latitude and longitude coordinates.

Parameters:
latitude -
longitude -
revolution -

getRotation

public float[] getRotation()
A rotation is defined through the use of a latitude coordinate, a longitude coordinate, and a revolution about the axis as the latitude and longitude coordinates. first element in return array - latitude, second - longitude, third - revolution.