Graph

Graph

图形基类。

Constructor

new Graph(sizeopt, coloropt)

Parameters:
Name Type Attributes Default Description
size number <optional>
2
color string <optional>
#D70022

Classes

Graph

Methods

close(board)

关闭图形。

Parameters:
Name Type Description
board GraphBoard

open(board)

打开图形。

Parameters:
Name Type Description
board GraphBoard

restore(board)

恢复。

Parameters:
Name Type Description
board *