Agora Interactive Whiteboard Java API Reference
|
Classes | |
enum | ScaleMode |
Public Member Functions | |
Double | getScale () |
void | setScale (Double scale) |
Double | getSpace () |
void | setSpace (Double space) |
ScaleMode | getMode () |
void | setMode (ScaleMode mode) |
Public Member Functions inherited from com.herewhite.sdk.domain.WhiteObject | |
String | toString () |
JSONObject | toJSON () |
Configurations for the scale mode and scale factor of the viewable area.
Double com.herewhite.sdk.domain.ContentModeConfig.getScale | ( | ) |
Gets the scale factor of the viewable area.
void com.herewhite.sdk.domain.ContentModeConfig.setScale | ( | Double | scale | ) |
Sets the scale factor of the viewable area.
scale | The scale factor of the viewable area. The default value is 1.0 , which means keeping the original size. |
Double com.herewhite.sdk.domain.ContentModeConfig.getSpace | ( | ) |
Gets the space added around the viewable area.
void com.herewhite.sdk.domain.ContentModeConfig.setSpace | ( | Double | space | ) |
Adds the space around the viewable area.
ScaleMode#CENTER_INSIDE_SPACE
.space | The space (pixels) around the viewable area. The default value is 0 . |
ScaleMode com.herewhite.sdk.domain.ContentModeConfig.getMode | ( | ) |
Gets the scale mode of the viewable area.
ScaleMode
.