ICamera
Overview
ICamera is a interface in Aspose.Slides FOSS for Java.
Represents Camera.
This interface provides 8 methods for working with ICamera objects in Java programs.
Available methods include: getCameraType, getFieldOfViewAngle, getRotation, getZoom, setCameraType, setFieldOfViewAngle, setRotation, setZoom.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: cameraType, fieldOfViewAngle, rotation, zoom.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
cameraType | CameraPresetType | Read | Camera type. |
fieldOfViewAngle | double | Read | Camera FOV (0-180 deg, field of view). |
zoom | double | Read | Camera zoom (positive value in percentage). |
rotation | double[] | Read | Gets the camera rotation as [latitude, longitude, revolution] in degrees. |
Methods
| Signature | Description |
|---|---|
getCameraType() → CameraPresetType | Camera type. |
setCameraType(value: CameraPresetType) | Sets the camera type. |
getFieldOfViewAngle() → double | Camera FOV (0-180 deg, field of view). |
setFieldOfViewAngle(value: double) | Sets the camera FOV. |
getZoom() → double | Camera zoom (positive value in percentage). |
setZoom(value: double) | Sets the camera zoom. |
setRotation(latitude: double, longitude: double, revolution: double) | Sets the camera rotation. |
getRotation() → double[] | Gets the camera rotation as [latitude, longitude, revolution] in degrees. |