Search
Preparing search index...
The search index is not available
白板 SDK 开发文档
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
白板 SDK 开发文档
controller
GridController
Class GridController
网格控制器
Hierarchy
Controller
GridController
Implements
GridControllerTarget
Index
Constructors
constructor
Properties
white
Board
controller
Name
Accessors
grid
Color
grid
Enabled
grid
Size
Methods
filter
Browser
Point
set
Grid
Color
set
Grid
Enabled
set
Grid
Size
Constructors
constructor
new
Grid
Controller
(
whiteBoard
:
WhiteBoard
)
:
GridController
Parameters
whiteBoard:
WhiteBoard
Returns
GridController
Properties
white
Board
white
Board
:
WhiteBoard
Static
controller
Name
controller
Name
:
string
= ...
Accessors
grid
Color
get
gridColor
(
)
:
string
当前网格颜色
api
Returns
string
grid
Enabled
get
gridEnabled
(
)
:
boolean
网格开关
api
Returns
boolean
grid
Size
get
gridSize
(
)
:
number
当前网格大小
api
Returns
number
Methods
filter
Browser
Point
filter
Browser
Point
(
browserPoint
:
BrowserPoint
)
:
BrowserPoint
过滤网格的浏览器坐标点
api
Parameters
browserPoint:
BrowserPoint
浏览器坐标点
Returns
BrowserPoint
set
Grid
Color
set
Grid
Color
(
gridColor
?:
string
)
:
GridController
设置网格颜色
api
todo
验证参数合法值
Parameters
gridColor:
string
= ...
网格颜色
Returns
GridController
set
Grid
Enabled
set
Grid
Enabled
(
gridEnabled
?:
boolean
)
:
GridController
设置网格开关
api
Parameters
gridEnabled:
boolean
= false
网格开关,默认:false
Returns
GridController
set
Grid
Size
set
Grid
Size
(
gridSize
?:
number
)
:
GridController
设置网格大小
api
todo
验证参数合法值
Parameters
gridSize:
number
= ...
网格大小
Returns
GridController
Modules
appliance
behavior
bridge
controller
core
cursor
main
plugin
service
shape
shape-
utils
Grid
Controller
constructor
white
Board
controller
Name
grid
Color
grid
Enabled
grid
Size
filter
Browser
Point
set
Grid
Color
set
Grid
Enabled
set
Grid
Size
网格控制器