Agora Interactive Whiteboard Java API Reference
Public Member Functions | List of all members
com.herewhite.sdk.domain.CameraState Class Reference
Inheritance diagram for com.herewhite.sdk.domain.CameraState:
com.herewhite.sdk.domain.WhiteObject

Public Member Functions

Double getCenterX ()
 
Double getCenterY ()
 
Double getScale ()
 
- Public Member Functions inherited from com.herewhite.sdk.domain.WhiteObject
String toString ()
 
JSONObject toJSON ()
 

Detailed Description

The state of the view.

Member Function Documentation

◆ getCenterX()

Double com.herewhite.sdk.domain.CameraState.getCenterX ( )

Gets the X coordinate of the center of the view in the world coordinate system (taking the center of the initial whiteboard as the origin).

Returns
The X coordinate of the center of the view in the world coordinate system. The initial value is 0.0.

◆ getCenterY()

Double com.herewhite.sdk.domain.CameraState.getCenterY ( )

Gets the Y coordinate of the center of the view in the world coordinate system (taking the center of the initial whiteboard as the origin).

Returns
The Y coordinate of the center of the view in the world coordinate system. The initial value is 0.0.

◆ getScale()

Double com.herewhite.sdk.domain.CameraState.getScale ( )

Gets the scale factor of the view.

Returns
The scale factor of the view. The initial value is 1.0.