|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Camera
public class Camera
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. |
float |
getFieldOfViewAngle()
Camera FOV (0-180 deg, 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. |
float |
getZoom()
Camera zoom (positive value in percentage). |
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)
Camera type. |
void |
setFieldOfViewAngle(float value)
Camera FOV (0-180 deg, 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)
Camera zoom (positive value in percentage). |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Camera()
Default constructor.
Method Detail |
---|
public final int getCameraType()
Camera type.
Read/write CameraPresetType
.
getCameraType
in interface ICamera
public final void setCameraType(int value)
Camera type.
Read/write CameraPresetType
.
setCameraType
in interface ICamera
public final float getFieldOfViewAngle()
Camera FOV (0-180 deg, field of View).
Read/write float
.
getFieldOfViewAngle
in interface ICamera
public final void setFieldOfViewAngle(float value)
Camera FOV (0-180 deg, field of View).
Read/write float
.
setFieldOfViewAngle
in interface ICamera
public final float getZoom()
Camera zoom (positive value in percentage).
Read/write float
.
getZoom
in interface ICamera
public final void setZoom(float value)
Camera zoom (positive value in percentage).
Read/write float
.
setZoom
in interface ICamera
public final 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.
setRotation
in interface ICamera
public final 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.
getRotation
in interface ICamera
public boolean equals(java.lang.Object obj)
Determines whether two FillFormat instances are equal.
equals
in class java.lang.Object
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.
hashCode
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |