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

Public Member Functions

AnimationMode getAnimationMode ()
 
void setAnimationMode (AnimationMode animationMode)
 
Double getCenterX ()
 
void setCenterX (Double centerX)
 
Double getCenterY ()
 
void setCenterY (Double centerY)
 
Double getScale ()
 
void setScale (Double scale)
 
- Public Member Functions inherited from com.herewhite.sdk.domain.WhiteObject
String toString ()
 
JSONObject toJSON ()
 

Detailed Description

Configurations for the view.

Since
2.2.0

Member Function Documentation

◆ getAnimationMode()

AnimationMode com.herewhite.sdk.domain.CameraConfig.getAnimationMode ( )

Gets the animation mode of the view.

Since
2.3.2
Returns
The animation mode of the view. See AnimationMode.

◆ setAnimationMode()

void com.herewhite.sdk.domain.CameraConfig.setAnimationMode ( AnimationMode  animationMode)

Sets the animation mode of the view.

Since
2.3.2
Parameters
animationModeThe animation mode of the view. See AnimationMode.

◆ getCenterX()

Double com.herewhite.sdk.domain.CameraConfig.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.

◆ setCenterX()

void com.herewhite.sdk.domain.CameraConfig.setCenterX ( Double  centerX)

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

Parameters
centerXThe X coordinate of the center of the view in the world coordinate system. The default value is 0.0.

◆ getCenterY()

Double com.herewhite.sdk.domain.CameraConfig.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.

◆ setCenterY()

void com.herewhite.sdk.domain.CameraConfig.setCenterY ( Double  centerY)

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

Parameters
centerYThe Y coordinate of the center of the view in the world coordinate system. The default value is 0.0.

◆ getScale()

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

Gets the scale factor of the view.

Returns
The scale factor of the view.

◆ setScale()

void com.herewhite.sdk.domain.CameraConfig.setScale ( Double  scale)

Sets the scale factor of the view.

Parameters
scaleThe scale factor of the view. The default value is 1.0.