|
Agora Interactive Whiteboard Java API Reference
|
Public Member Functions | |
| ImageInformationWithUrl (Double centerX, Double centerY, Double width, Double height, String url) | |
| double | getCenterX () |
| void | setCenterX (double centerX) |
| double | getCenterY () |
| void | setCenterY (double centerY) |
| double | getWidth () |
| void | setWidth (double width) |
| double | getHeight () |
| void | setHeight (double height) |
| String | getUrl () |
| void | setUrl (String url) |
Public Member Functions inherited from com.herewhite.sdk.domain.WhiteObject | |
| String | toString () |
| JSONObject | toJSON () |
Position and sizing information for the image and the URL address of the image.
| com.herewhite.sdk.domain.ImageInformationWithUrl.ImageInformationWithUrl | ( | Double | centerX, |
| Double | centerY, | ||
| Double | width, | ||
| Double | height, | ||
| String | url | ||
| ) |
The ImageInformationWithUrl constructor, for initializing an ImageInformationWithUrl object.
| centerX | The X 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 (taking the center of the initial whiteboard as the origin). |
| width | The width (px) of the image. |
| height | The height (px) of the image. |
| url | The URL address of the image. Ensure the application client can access the URL; otherwise, the image cannot be displayed. |
| double com.herewhite.sdk.domain.ImageInformationWithUrl.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.ImageInformationWithUrl.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.ImageInformationWithUrl.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.ImageInformationWithUrl.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.ImageInformationWithUrl.getWidth | ( | ) |
Gets the width of the image.
| void com.herewhite.sdk.domain.ImageInformationWithUrl.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 parts that exceed the boundary. |
| double com.herewhite.sdk.domain.ImageInformationWithUrl.getHeight | ( | ) |
Gets the height of the image.
| void com.herewhite.sdk.domain.ImageInformationWithUrl.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 parts that exceed the boundary. |
| String com.herewhite.sdk.domain.ImageInformationWithUrl.getUrl | ( | ) |
Gets the URL address of the image.
| void com.herewhite.sdk.domain.ImageInformationWithUrl.setUrl | ( | String | url | ) |
Sets the URL address of the image.
| url | The URL address of the image. Ensure the application client can access the URL; otherwise, the image cannot be displayed. |