Preparing search index...
The search index is not available
goban
goban
GobanTheme
Class GobanTheme
Index
Constructors
constructor
Properties
name
parent?
styles
Accessors
theme_
name
Methods
def_
uid
get
BackgroundCSS
get
Black
Stone
Color
get
Black
Text
Color
get
Blank
Text
Color
get
Faded
Line
Color
get
Faded
Star
Color
get
Label
Text
Color
get
Line
Color
get
React
Styles
get
Star
Color
get
Stone
get
Stone
Hash
get
White
Stone
Color
get
White
Text
Color
place
Black
Stone
place
Black
StoneSVG
place
StoneSVG
place
Stone
ShadowSVG
place
White
Stone
place
White
StoneSVG
pre
Render
Black
pre
Render
BlackSVG
pre
Render
ShadowSVG
pre
Render
White
pre
Render
WhiteSVG
renderSVG
sort
stone
Casts
Shadow
Constructors
constructor
new
Goban
Theme
(
parent
?
)
:
GobanTheme
Parameters
Optional
parent
:
GobanTheme
Returns
GobanTheme
Properties
name
name
:
string
Protected
Optional
parent
parent
?:
GobanTheme
styles
styles
:
{
[
style_name
:
string
]
:
string
;
}
= {}
Type declaration
[
style_name
:
string
]:
string
Accessors
theme_
name
get
theme_name
(
)
:
string
Returns
string
Methods
def_
uid
def_
uid
(
base
)
:
string
Parameters
base
:
string
Returns
string
get
BackgroundCSS
get
BackgroundCSS
(
)
:
GobanThemeBackgroundCSS
Returns
GobanThemeBackgroundCSS
get
Black
Stone
Color
get
Black
Stone
Color
(
)
:
string
Returns
string
get
Black
Text
Color
get
Black
Text
Color
(
_color
?
)
:
string
Parameters
Optional
_color
:
string
Returns
string
get
Blank
Text
Color
get
Blank
Text
Color
(
)
:
string
Returns
string
get
Faded
Line
Color
get
Faded
Line
Color
(
)
:
string
Returns
string
get
Faded
Star
Color
get
Faded
Star
Color
(
)
:
string
Returns
string
get
Label
Text
Color
get
Label
Text
Color
(
)
:
string
Returns the color that should be used for labels
Returns
string
get
Line
Color
get
Line
Color
(
)
:
string
Returns
string
get
React
Styles
get
React
Styles
(
)
:
GobanThemeBackgroundReactStyles
Returns
GobanThemeBackgroundReactStyles
get
Star
Color
get
Star
Color
(
)
:
string
Returns
string
get
Stone
get
Stone
(
x
,
y
,
stones
,
_goban
)
:
any
Parameters
x
:
number
y
:
number
stones
:
any
_goban
:
GobanBase
Returns
any
get
Stone
Hash
get
Stone
Hash
(
x
,
y
,
stones
,
_goban
)
:
string
Parameters
x
:
number
y
:
number
stones
:
any
_goban
:
GobanBase
Returns
string
get
White
Stone
Color
get
White
Stone
Color
(
)
:
string
Returns
string
get
White
Text
Color
get
White
Text
Color
(
_color
?
)
:
string
Parameters
Optional
_color
:
string
Returns
string
place
Black
Stone
place
Black
Stone
(
ctx
,
_shadow_ctx
,
_stone
,
cx
,
cy
,
radius
)
:
void
Parameters
ctx
:
CanvasRenderingContext2D
_shadow_ctx
:
null
|
CanvasRenderingContext2D
_stone
:
any
cx
:
number
cy
:
number
radius
:
number
Returns
void
place
Black
StoneSVG
place
Black
StoneSVG
(
cell
,
shadow_cell
,
stone
,
cx
,
cy
,
radius
)
:
[
SVGElement
,
undefined
|
SVGElement
]
Parameters
cell
:
SVGGraphicsElement
shadow_cell
:
undefined
|
SVGGraphicsElement
stone
:
string
cx
:
number
cy
:
number
radius
:
number
Returns
[
SVGElement
,
undefined
|
SVGElement
]
Private
place
StoneSVG
place
StoneSVG
(
cell
,
shadow_cell
,
stone
,
cx
,
cy
,
radius
,
shadow_circle_color
)
:
[
SVGElement
,
undefined
|
SVGElement
]
Parameters
cell
:
SVGGraphicsElement
shadow_cell
:
undefined
|
SVGGraphicsElement
stone
:
string
cx
:
number
cy
:
number
radius
:
number
shadow_circle_color
:
string
Returns
[
SVGElement
,
undefined
|
SVGElement
]
place
Stone
ShadowSVG
place
Stone
ShadowSVG
(
shadow_cell
,
cx
,
cy
,
radius
,
color
)
:
undefined
|
SVGElement
Parameters
shadow_cell
:
undefined
|
SVGGraphicsElement
cx
:
number
cy
:
number
radius
:
number
color
:
string
Returns
undefined
|
SVGElement
place
White
Stone
place
White
Stone
(
ctx
,
_shadow_ctx
,
_stone
,
cx
,
cy
,
radius
)
:
void
Parameters
ctx
:
CanvasRenderingContext2D
_shadow_ctx
:
null
|
CanvasRenderingContext2D
_stone
:
any
cx
:
number
cy
:
number
radius
:
number
Returns
void
place
White
StoneSVG
place
White
StoneSVG
(
cell
,
shadow_cell
,
stone
,
cx
,
cy
,
radius
)
:
[
SVGElement
,
undefined
|
SVGElement
]
Parameters
cell
:
SVGGraphicsElement
shadow_cell
:
undefined
|
SVGGraphicsElement
stone
:
string
cx
:
number
cy
:
number
radius
:
number
Returns
[
SVGElement
,
undefined
|
SVGElement
]
pre
Render
Black
pre
Render
Black
(
_radius
,
_seed
,
_deferredRenderCallback
)
:
any
Parameters
_radius
:
number
_seed
:
number
_deferredRenderCallback
:
(
(
)
=>
void
)
(
)
:
void
Returns
void
Returns
any
pre
Render
BlackSVG
pre
Render
BlackSVG
(
defs
,
radius
,
_seed
,
_deferredRenderCallback
)
:
string
[]
Parameters
defs
:
SVGDefsElement
radius
:
number
_seed
:
number
_deferredRenderCallback
:
(
(
)
=>
void
)
(
)
:
void
Returns
void
Returns
string
[]
pre
Render
ShadowSVG
pre
Render
ShadowSVG
(
defs
,
color
)
:
void
Parameters
defs
:
SVGDefsElement
color
:
string
Returns
void
pre
Render
White
pre
Render
White
(
_radius
,
_seed
,
_deferredRenderCallback
)
:
any
Parameters
_radius
:
number
_seed
:
number
_deferredRenderCallback
:
(
(
)
=>
void
)
(
)
:
void
Returns
void
Returns
any
pre
Render
WhiteSVG
pre
Render
WhiteSVG
(
defs
,
radius
,
_seed
,
_deferredRenderCallback
)
:
string
[]
Parameters
defs
:
SVGDefsElement
radius
:
number
_seed
:
number
_deferredRenderCallback
:
(
(
)
=>
void
)
(
)
:
void
Returns
void
Returns
string
[]
renderSVG
renderSVG
(
params
,
radius
)
:
SVGGraphicsElement
Parameters
params
:
SVGStoneParameters
radius
:
number
Returns
SVGGraphicsElement
sort
sort
(
)
:
number
Returns
number
stone
Casts
Shadow
stone
Casts
Shadow
(
_radius
)
:
boolean
Parameters
_radius
:
number
Returns
boolean
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
name
parent
styles
theme_
name
def_
uid
get
BackgroundCSS
get
Black
Stone
Color
get
Black
Text
Color
get
Blank
Text
Color
get
Faded
Line
Color
get
Faded
Star
Color
get
Label
Text
Color
get
Line
Color
get
React
Styles
get
Star
Color
get
Stone
get
Stone
Hash
get
White
Stone
Color
get
White
Text
Color
place
Black
Stone
place
Black
StoneSVG
place
StoneSVG
place
Stone
ShadowSVG
place
White
Stone
place
White
StoneSVG
pre
Render
Black
pre
Render
BlackSVG
pre
Render
ShadowSVG
pre
Render
White
pre
Render
WhiteSVG
renderSVG
sort
stone
Casts
Shadow
goban
Loading...
Returns the color that should be used for labels