com.aspose.slides
Class CameraEx

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

public class CameraEx
extends java.lang.Object

Represents CameraEx.


Constructor Summary
CameraEx()
           Default constructor.
 
Method Summary
 int getCameraType()
           Camera type Read/write CameraPresetTypeEx
 float getFieldOfViewAngle()
           Camera FOV (0-180 deg, field of View) Read/write float
 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.
 float getZoom()
           Camera zoom (positive value in percentage) Read/write float
 void setCameraType(int value)
           
 void setFieldOfViewAngle(float value)
           
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CameraEx

public CameraEx()

Default constructor.

Method Detail

getCameraType

public int getCameraType()

Camera type Read/write CameraPresetTypeEx


setCameraType

public void setCameraType(int value)

getFieldOfViewAngle

public float getFieldOfViewAngle()

Camera FOV (0-180 deg, field of View) Read/write float


setFieldOfViewAngle

public void setFieldOfViewAngle(float value)

getZoom

public float getZoom()

Camera zoom (positive value in percentage) Read/write float


setZoom

public void setZoom(float value)

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. If any of coordinate value is Float.NaN, all rotation is undefined.


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. Returns null if no rotation defined.