com.aspose.slides
Class Camera

java.lang.Object
  extended by com.aspose.slides.Camera
All Implemented Interfaces:
ICamera

public class Camera
extends java.lang.Object
implements ICamera

Represents Camera.


Constructor Summary
Camera()
           Default constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
           Determines whether two FillFormat instances are equal.
 int getCameraType()
           Camera type Read/write CameraPresetType
 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
 int hashCode()
           Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
 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
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Camera

public Camera()

Default constructor.

Method Detail

getCameraType

public int getCameraType()

Camera type Read/write CameraPresetType

Specified by:
getCameraType in interface ICamera

setCameraType

public void setCameraType(int value)
Specified by:
setCameraType in interface ICamera

getFieldOfViewAngle

public float getFieldOfViewAngle()

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

Specified by:
getFieldOfViewAngle in interface ICamera

setFieldOfViewAngle

public void setFieldOfViewAngle(float value)
Specified by:
setFieldOfViewAngle in interface ICamera

getZoom

public float getZoom()

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

Specified by:
getZoom in interface ICamera

setZoom

public void setZoom(float value)
Specified by:
setZoom in interface ICamera

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.

Specified by:
setRotation in interface ICamera

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.

Specified by:
getRotation in interface ICamera

equals

public boolean equals(java.lang.Object obj)

Determines whether two FillFormat instances are equal.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.


Overriden to make compiler happy.

Overrides:
hashCode in class java.lang.Object