Preparing search index...
The search index is not available
goban
goban
GobanCanvasInterface
Interface GobanCanvasInterface
interface
GobanCanvasInterface
{
engine
:
GobanEngine
;
move_tree_container
?:
HTMLElement
;
clearAnalysisDrawing
(
)
:
void
;
clearMessage
(
)
:
void
;
destroy
(
)
:
void
;
disablePen
(
)
:
void
;
drawPenMarks
(
pen_marks
)
:
void
;
drawSquare
(
i
,
j
)
:
void
;
enablePen
(
)
:
void
;
move_tree_bindCanvasEvents
(
canvas
)
:
void
;
move_tree_redraw
(
no_warp
?
)
:
void
;
setByoYomiLabel
(
label
)
:
void
;
setLastMoveOpacity
(
opacity
)
:
void
;
setMoveTreeContainer
(
container
)
:
void
;
showMessage
(
message_id_or_error
,
parameters
?
,
timeout
?
)
:
void
;
}
Implemented by
GobanCanvas
Index
Properties
engine
move_
tree_
container?
Methods
clear
Analysis
Drawing
clear
Message
destroy
disable
Pen
draw
Pen
Marks
draw
Square
enable
Pen
move_
tree_
bind
Canvas
Events
move_
tree_
redraw
set
Byo
Yomi
Label
set
Last
Move
Opacity
set
Move
Tree
Container
show
Message
Properties
engine
engine
:
GobanEngine
Optional
move_
tree_
container
move_
tree_
container
?:
HTMLElement
Methods
clear
Analysis
Drawing
clear
Analysis
Drawing
(
)
:
void
Returns
void
clear
Message
clear
Message
(
)
:
void
Returns
void
destroy
destroy
(
)
:
void
Returns
void
disable
Pen
disable
Pen
(
)
:
void
Returns
void
draw
Pen
Marks
draw
Pen
Marks
(
pen_marks
)
:
void
Parameters
pen_marks
:
MoveTreePenMarks
Returns
void
draw
Square
draw
Square
(
i
,
j
)
:
void
Parameters
i
:
number
j
:
number
Returns
void
enable
Pen
enable
Pen
(
)
:
void
Returns
void
move_
tree_
bind
Canvas
Events
move_
tree_
bind
Canvas
Events
(
canvas
)
:
void
Parameters
canvas
:
HTMLCanvasElement
Returns
void
move_
tree_
redraw
move_
tree_
redraw
(
no_warp
?
)
:
void
Parameters
Optional
no_warp
:
boolean
Returns
void
set
Byo
Yomi
Label
set
Byo
Yomi
Label
(
label
)
:
void
Parameters
label
:
string
Returns
void
set
Last
Move
Opacity
set
Last
Move
Opacity
(
opacity
)
:
void
Parameters
opacity
:
number
Returns
void
set
Move
Tree
Container
set
Move
Tree
Container
(
container
)
:
void
Parameters
container
:
HTMLElement
Returns
void
show
Message
show
Message
(
message_id_or_error
,
parameters
?
,
timeout
?
)
:
void
Parameters
message_id_or_error
:
MessageID
Optional
parameters
:
{
[
key
:
string
]
:
any
;
}
[
key
:
string
]:
any
Optional
timeout
:
number
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
engine
move_
tree_
container
clear
Analysis
Drawing
clear
Message
destroy
disable
Pen
draw
Pen
Marks
draw
Square
enable
Pen
move_
tree_
bind
Canvas
Events
move_
tree_
redraw
set
Byo
Yomi
Label
set
Last
Move
Opacity
set
Move
Tree
Container
show
Message
goban
Loading...