Class Camera
java.lang.Object
com.independentsoft.office.drawing.Camera
The Class Camera.
-
Constructor Summary
ConstructorsConstructorDescriptionCamera()Instantiates a new camera.Camera(InternalXMLStreamReader reader)Instantiates a new camera. -
Method Summary
Modifier and TypeMethodDescriptionclone()intGets the field of view.Gets the rotation.getType()Gets the type.intgetZoom()Gets the zoom.voidsetFieldOfView(int fieldOfView)Sets the field of view.voidsetRotation(Rotation rotation)Sets the rotation.voidsetType(PresetCameraType type)Sets the type.voidsetZoom(int zoom)Sets the zoom.toString()
-
Constructor Details
-
Camera
public Camera()Instantiates a new camera. -
Camera
Instantiates a new camera.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
getRotation
Gets the rotation.- Returns:
- the rotation
-
setRotation
Sets the rotation.- Parameters:
rotation- the new rotation
-
getFieldOfView
public int getFieldOfView()Gets the field of view.- Returns:
- the field of view
-
setFieldOfView
public void setFieldOfView(int fieldOfView)Sets the field of view.- Parameters:
fieldOfView- the new field of view
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-
getZoom
public int getZoom()Gets the zoom.- Returns:
- the zoom
-
setZoom
public void setZoom(int zoom)Sets the zoom.- Parameters:
zoom- the new zoom
-