Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuming
/
developer-docs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
echo
2016-02-19 17:25:55 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ce6971663c51e8839bee74402b417eb677c1b587
ce697166
1 parent
10f75f9f
Updated 远程教学之画板相关消息 (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
4 deletions
远程教学之画板相关消息.md
远程教学之画板相关消息.md
View file @
ce69716
...
...
@@ -7,20 +7,68 @@
### 画板动作消息
*
打开画板
如果采取发送教师端截图的方式,需要附加一个图片消息
```
type:templateAction
subtype:drawPanelAction
command:openDrawPanel
attachmentType:image
```
附加的附件是教师版当前页面的截图
*
关闭画板
```
type:templateAction
subtype:drawPanelAction
command:closeDrawPanel
```
*
更换画笔
```
type:templateAction
subtype:drawPanelAction
command:changeBrush
```
*
Undo操作
```
type:templateAction
subtype:drawPanelAction
command:undo
```
*
清空画面
```
type:templateAction
subtype:drawPanelAction
command:clear
```
### 绘画消息
*
开始绘画消息
```
type:templateAction
subtype:drawPanelAction
command:beginDraw
startX:100
startY:100
firstX:100
firstY:100
```
*
绘画中的消息
绘画过程中的所有点的信息,可以采用小文件的方式一次性发送。
```
type:templateAction
subtype:drawPanelAction
command:drawing
attachment:smallFile
```
附件记录了绘画过程中的所有点的信息。
*
绘画结束消息
to do
\ No newline at end of file
```
type:templateAction
subtype:drawPanelAction
command:endDraw
positionInfoArray:最后一个点的位置信息
```
\ No newline at end of file
...
...
Please
register
or
login
to post a comment