Agora Interactive Whiteboard Java API Reference
|
Public Member Functions | |
Boolean | getLocked () |
void | setLocked (Boolean locked) |
String | getUuid () |
void | setUuid (String uuid) |
double | getCenterX () |
void | setCenterX (double centerX) |
double | getCenterY () |
void | setCenterY (double centerY) |
double | getWidth () |
void | setWidth (double width) |
double | getHeight () |
void | setHeight (double height) |
Public Member Functions inherited from com.herewhite.sdk.domain.WhiteObject | |
String | toString () |
JSONObject | toJSON () |
Created by buhe on 2018/8/15. Image information.
Boolean com.herewhite.sdk.domain.ImageInformation.getLocked | ( | ) |
Gets whether the image is locked.
true
: Locked. When an image is locked, users cannot move or zoom the image.false
: Unlocked. void com.herewhite.sdk.domain.ImageInformation.setLocked | ( | Boolean | locked | ) |
Locks an image.
When an image is locked, users cannot move or zoom the image.
locked | Whether to lock the image:
|
String com.herewhite.sdk.domain.ImageInformation.getUuid | ( | ) |
Gets the unique identifier (UUID) of the image.
void com.herewhite.sdk.domain.ImageInformation.setUuid | ( | String | uuid | ) |
Sets the unique identifier (UUID) of the image.
The UUID of the image is a string, which is the identifier of the image and must be unique in the live interactive whiteboard room. You can use the UUID generation library to generate the UUID of the image.
uuid | The UUID of the image in string format. |
double com.herewhite.sdk.domain.ImageInformation.getCenterX | ( | ) |
Gets the X coordinate of the center of the image in the world coordinate system (taking the center of the initial whiteboard as the origin).
void com.herewhite.sdk.domain.ImageInformation.setCenterX | ( | double | centerX | ) |
Sets the X coordinate of the center of the image in the world coordinate system (taking the center of the initial whiteboard as the origin).
centerX | The X coordinate of the center of the image in the world coordinate system. |
double com.herewhite.sdk.domain.ImageInformation.getCenterY | ( | ) |
Gets the Y coordinate of the center of the image in the world coordinate system (taking the center of the initial whiteboard as the origin).
void com.herewhite.sdk.domain.ImageInformation.setCenterY | ( | double | centerY | ) |
Sets the Y coordinate of the center of the image in the world coordinate system (taking the center of the initial whiteboard as the origin).
centerY | The Y coordinate of the center of the image in the world coordinate system. |
double com.herewhite.sdk.domain.ImageInformation.getWidth | ( | ) |
Gets the width of the image.
void com.herewhite.sdk.domain.ImageInformation.setWidth | ( | double | width | ) |
Sets the width of the image.
width | The width (px) of the image. If the width of the image is greater than the boundary of the view, then users cannot see the excess part. |
double com.herewhite.sdk.domain.ImageInformation.getHeight | ( | ) |
Gets the height of the image.
void com.herewhite.sdk.domain.ImageInformation.setHeight | ( | double | height | ) |
Sets the height of the image.
height | The height (px) of the image. If the height of the image is greater than the boundary of the view, then users cannot see the excess part. |