Type Definitions
BackgroundImageInfo
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
url |
string |
<optional> |
''
|
图片资源链接 |
mode |
number |
<optional> |
TEDU_BOARD_IMAGE_FIT_MODE_CENTER
|
|
type |
number |
<optional> |
0
|
背景类型(0: 背景图 1:H5) |
angle |
number |
<optional> |
0
|
旋转角度 |
白板背景图结构
Type:
- object
BoardInfo
Properties:
Name | Type | Description |
---|---|---|
boardId |
string | 白板ID |
backgroundColor |
string | 白板背景色 |
backgroundUrl |
string | 白板背景图URL |
白板信息数据结构
Type:
- object
Element
Properties:
Name | Type | Description |
---|---|---|
boardId |
string | 白板id |
elementId |
string | 元素id |
type |
number | |
url |
string | 元素的url |
show |
boolean | 元素的显示和隐藏状态 |
白板元素数据结构
Type:
- object
ElementOperationAuthority
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
disableRotate |
boolean |
<optional> |
false
|
是否禁用旋转 (文本元素默认为true,不可更改) |
disableMove |
boolean |
<optional> |
false
|
是否禁用移动 |
disableProportionScale |
boolean |
<optional> |
false
|
是否禁用等比例缩放 |
disableArbitraryScale |
boolean |
<optional> |
false
|
是否禁用任意缩放 (文本元素默认为true,不可更改) |
disableUseEmoji |
boolean |
<optional> |
false
|
是否禁用使用emoji表情 (文本元素默认为true,不可更改) |
白板元素操作权限
Type:
- object
FileInfo
Properties:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boardInfoList |
Array.<BoardInfo> | 白板信息 |
|||||||||
currentPageIndex |
number | 当前页码 |
|||||||||
currentPageStep |
number | 当前动画步数 |
|||||||||
downloadURL |
string | 文件URL |
|||||||||
fid |
string | 文件ID |
|||||||||
pageCount |
number | 总页数 |
|||||||||
platform |
string | 平台 |
|||||||||
progress |
number | 当前进度 |
|||||||||
ratio |
string | 分辨率 |
|||||||||
scale |
number | 缩放比 |
|||||||||
status |
number | 当前状态 |
|||||||||
timestamp |
number | 时间戳 |
|||||||||
title |
string | 文件名 |
|||||||||
uid |
string | 用户名 |
|||||||||
fileType |
number | ||||||||||
invisiblePageIndexList |
Array.<number> | 隐藏的ppt页码 |
|||||||||
pptMediaInfo |
object | 当前页PPT媒体信息 Properties
|
文件信息数据结构
Type:
- object
LineStyle
Properties:
Name | Type | Description |
---|---|---|
lineType |
number | |
startArrowType |
number | |
endArrowType |
number |
直线样式数据结构
Type:
- object
TEduBoardElement
Properties:
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
elementId |
string | 元素ID |
||||||||||||||||||||||||
type |
number | |||||||||||||||||||||||||
boardId |
string | 元素所属白板 |
||||||||||||||||||||||||
userId |
string | 元素创建者 |
||||||||||||||||||||||||
show |
boolean | 元素是否显示 |
||||||||||||||||||||||||
select |
boolean | 元素是否被选中 |
||||||||||||||||||||||||
boundingbox |
object | 元素旋转后包围盒 Properties
|
||||||||||||||||||||||||
rectBox |
object | 元素原始包围盒(不旋转) Properties
|
||||||||||||||||||||||||
style |
object | 元素样式 Properties
|
||||||||||||||||||||||||
locked |
boolean | 是否锁定 |
白板元素
Type:
- object