Package featurecat.lizzie.theme
Class Theme
- java.lang.Object
-
- featurecat.lizzie.theme.Theme
-
public class Theme extends Object
Theme Allow to load the external image & theme config
-
-
Constructor Summary
Constructors Constructor Description Theme(org.json.JSONObject uiConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BufferedImagebackground()BufferedImageblackStone()ColorblunderBarColor()The color of the blunder barOptional<Map<Double,Color>>blunderNodeColors()The color list of the blunder nodeOptional<List<Double>>blunderWinrateThresholds()The threshold list of the blunder winrateBufferedImageboard()ColorcommentBackgroundColor()The background color of the comment panelColorcommentFontColor()The font color of the commentintcommentFontSize()The font size of the commentColorcommentNodeColor()The color of the node with the commentStringfontName()Use custom font for general textintminimumBlunderBarWidth()The minimum width of the blunder barintnodeColorMode()The size of the shadowintshadowSize()The size of the shadowbooleanshowCommentNodeColor()Show the node with the comment colorbooleansolidStoneIndicator()Use solid current stone indicatorStringuiFontName()Use custom font for the UIBufferedImagewhiteStone()StringwinrateFontName()Use custom font for the Leela Zero winrate on the stoneColorwinrateLineColor()The color of the winrate lineColorwinrateMissLineColor()The color of the line that missed the winrateintwinrateStrokeWidth()The stroke width of the winrate line
-
-
-
Method Detail
-
blackStone
public BufferedImage blackStone()
-
whiteStone
public BufferedImage whiteStone()
-
board
public BufferedImage board()
-
background
public BufferedImage background()
-
fontName
public String fontName()
Use custom font for general text
-
uiFontName
public String uiFontName()
Use custom font for the UI
-
winrateFontName
public String winrateFontName()
Use custom font for the Leela Zero winrate on the stone
-
solidStoneIndicator
public boolean solidStoneIndicator()
Use solid current stone indicator
-
showCommentNodeColor
public boolean showCommentNodeColor()
Show the node with the comment color
-
shadowSize
public int shadowSize()
The size of the shadow
-
winrateStrokeWidth
public int winrateStrokeWidth()
The stroke width of the winrate line
-
minimumBlunderBarWidth
public int minimumBlunderBarWidth()
The minimum width of the blunder bar
-
commentFontSize
public int commentFontSize()
The font size of the comment
-
nodeColorMode
public int nodeColorMode()
The size of the shadow
-
commentBackgroundColor
public Color commentBackgroundColor()
The background color of the comment panel- Returns:
-
commentFontColor
public Color commentFontColor()
The font color of the comment
-
commentNodeColor
public Color commentNodeColor()
The color of the node with the comment
-
winrateLineColor
public Color winrateLineColor()
The color of the winrate line
-
winrateMissLineColor
public Color winrateMissLineColor()
The color of the line that missed the winrate
-
blunderBarColor
public Color blunderBarColor()
The color of the blunder bar
-
blunderWinrateThresholds
public Optional<List<Double>> blunderWinrateThresholds()
The threshold list of the blunder winrate
-
-