com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class Camera

    • Method Detail

      • getFieldOfViewAngle

        public final float getFieldOfViewAngle()

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

        Specified by:
        getFieldOfViewAngle in interface ICamera
      • setFieldOfViewAngle

        public final void setFieldOfViewAngle(float value)

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

        Specified by:
        setFieldOfViewAngle in interface ICamera
      • getZoom

        public final float getZoom()

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

        Specified by:
        getZoom in interface ICamera
      • setZoom

        public final void setZoom(float value)

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

        Specified by:
        setZoom in interface ICamera
      • setRotation

        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.

        Specified by:
        setRotation in interface ICamera
      • getRotation

        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.

        Specified by:
        getRotation in interface ICamera