com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface ICamera

  • All Known Implementing Classes:
    Camera


    public interface ICamera

    Represents Camera.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      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.
      void setCameraType(int value)
      Camera type Read/write CameraPresetType.
      void setFieldOfViewAngle(float value)
      Camera FOV (0-180 deg, field of View) Read/write float.
      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) Read/write float.
    • Method Detail

      • setCameraType

        void setCameraType(int value)

        Camera type Read/write CameraPresetType.

      • getFieldOfViewAngle

        float getFieldOfViewAngle()

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

      • setFieldOfViewAngle

        void setFieldOfViewAngle(float value)

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

      • getZoom

        float getZoom()

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

      • setZoom

        void setZoom(float value)

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

      • setRotation

        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.

        Parameters:
        latitude - Latitude value float
      • getRotation

        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.

        Returns:
        Array of rotation values as float[].