|
Agora Interactive Whiteboard Java API Reference
|
Public Member Functions | |
| String | getCurrentApplianceName () |
| void | setCurrentApplianceName (String currentApplianceName) |
| void | setCurrentApplianceName (String currentApplianceName, ShapeType shapeType) |
| void | setShapeType (ShapeType shapeType) |
| ShapeType | getShapeType () |
| int[] | getStrokeColor () |
| void | setStrokeColor (int[] strokeColor) |
| int[] | getTextColor () |
| void | setTextColor (int[] textColor) |
| double | getStrokeWidth () |
| void | setStrokeWidth (double strokeWidth) |
| double | getTextSize () |
| void | setTextSize (double textSize) |
| Boolean | getTextCanSelectText () |
| void | setTextCanSelectText (Boolean textCanSelectText) |
| Boolean | getDottedLine () |
| void | setDottedLine (Boolean dottedLine) |
| Integer | getPencilEraserSize () |
| void | setPencilEraserSize (Integer pencilEraserSize) |
Public Member Functions inherited from com.herewhite.sdk.domain.WhiteObject | |
| String | toString () |
| JSONObject | toJSON () |
Created by buhe on 2018/8/11. Settings of the whiteboard tool in use.
| String com.herewhite.sdk.domain.MemberState.getCurrentApplianceName | ( | ) |
Gets the name of the whiteboard tool currently in use.
| void com.herewhite.sdk.domain.MemberState.setCurrentApplianceName | ( | String | currentApplianceName | ) |
Sets the whiteboard tool.
| currentApplianceName | The whiteboard tool. See Appliance. |
| void com.herewhite.sdk.domain.MemberState.setCurrentApplianceName | ( | String | currentApplianceName, |
| ShapeType | shapeType | ||
| ) |
| void com.herewhite.sdk.domain.MemberState.setShapeType | ( | ShapeType | shapeType | ) |
| ShapeType com.herewhite.sdk.domain.MemberState.getShapeType | ( | ) |
| int[] com.herewhite.sdk.domain.MemberState.getStrokeColor | ( | ) |
Gets the stroke color.
0, 0, 255 (blue). | void com.herewhite.sdk.domain.MemberState.setStrokeColor | ( | int[] | strokeColor | ) |
Sets the stroke color.
| strokeColor | The stroke color in RGB format, for example, 0, 0, 255 (blue). |
| int[] com.herewhite.sdk.domain.MemberState.getTextColor | ( | ) |
Gets the text color for the text tool.
| void com.herewhite.sdk.domain.MemberState.setTextColor | ( | int[] | textColor | ) |
Sets the text color for the text tool.
| textColor | An array of integers representing the RGB values of the text color. |
| double com.herewhite.sdk.domain.MemberState.getStrokeWidth | ( | ) |
Gets the stroke width.
| void com.herewhite.sdk.domain.MemberState.setStrokeWidth | ( | double | strokeWidth | ) |
Sets the stroke width.
| strokeWidth | The stroke width. |
| double com.herewhite.sdk.domain.MemberState.getTextSize | ( | ) |
Gets the font size of the text.
| void com.herewhite.sdk.domain.MemberState.setTextSize | ( | double | textSize | ) |
Sets the font size of the text.
| textSize | The font size of the text. The Chrome browser automatically adjusts fonts smaller than 12 to 12. |
| Boolean com.herewhite.sdk.domain.MemberState.getTextCanSelectText | ( | ) |
Gets whether directly selecting and editing whiteboard text is allowed.
| void com.herewhite.sdk.domain.MemberState.setTextCanSelectText | ( | Boolean | textCanSelectText | ) |
Sets whether to allow directly selecting and editing whiteboard text.
| textCanSelectText | Whether to allow directly selecting and editing whiteboard text:
|
| Boolean com.herewhite.sdk.domain.MemberState.getDottedLine | ( | ) |
Gets whether to support drawing dotted lines:
| void com.herewhite.sdk.domain.MemberState.setDottedLine | ( | Boolean | dottedLine | ) |
Sets whether to support drawing dotted lines: This feature only applies to NewPencil. You need to set disableNewPencil to false before joining the room.
| dottedLine | Whether to support drawing dotted lines:
|
| Integer com.herewhite.sdk.domain.MemberState.getPencilEraserSize | ( | ) |
Gets the size of the pencil eraser.
| void com.herewhite.sdk.domain.MemberState.setPencilEraserSize | ( | Integer | pencilEraserSize | ) |
Sets the size of the pencil eraser. To modify this configuration, you need to set (false)} when joining the room.
| pencilEraserSize | The size of the pencil eraser, ranging from [1,3], where a larger value indicates a larger size. |