Package featurecat.lizzie.theme
Class Theme
- java.lang.Object
-
- featurecat.lizzie.theme.Theme
-
public class Theme extends java.lang.ObjectTheme 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 java.awt.image.BufferedImagebackground()java.awt.image.BufferedImageblackStone()java.awt.ColorblunderBarColor()The color of the blunder barjava.util.Optional<java.util.Map<java.lang.Double,java.awt.Color>>blunderNodeColors()The color list of the blunder nodejava.util.Optional<java.util.List<java.lang.Double>>blunderWinrateThresholds()The threshold list of the blunder winratejava.awt.image.BufferedImageboard()java.awt.ColorcommentBackgroundColor()The background color of the comment paneljava.awt.ColorcommentFontColor()The font color of the commentintcommentFontSize()The font size of the commentjava.awt.ColorcommentNodeColor()The color of the node with the commentjava.lang.StringfontName()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 indicatorjava.lang.StringuiFontName()Use custom font for the UIjava.awt.image.BufferedImagewhiteStone()java.lang.StringwinrateFontName()Use custom font for the Leela Zero winrate on the stonejava.awt.ColorwinrateLineColor()The color of the winrate linejava.awt.ColorwinrateMissLineColor()The color of the line that missed the winrateintwinrateStrokeWidth()The stroke width of the winrate line
-
-
-
Method Detail
-
blackStone
public java.awt.image.BufferedImage blackStone()
-
whiteStone
public java.awt.image.BufferedImage whiteStone()
-
board
public java.awt.image.BufferedImage board()
-
background
public java.awt.image.BufferedImage background()
-
fontName
public java.lang.String fontName()
Use custom font for general text
-
uiFontName
public java.lang.String uiFontName()
Use custom font for the UI
-
winrateFontName
public java.lang.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 java.awt.Color commentBackgroundColor()
The background color of the comment panel- Returns:
-
commentFontColor
public java.awt.Color commentFontColor()
The font color of the comment
-
commentNodeColor
public java.awt.Color commentNodeColor()
The color of the node with the comment
-
winrateLineColor
public java.awt.Color winrateLineColor()
The color of the winrate line
-
winrateMissLineColor
public java.awt.Color winrateMissLineColor()
The color of the line that missed the winrate
-
blunderBarColor
public java.awt.Color blunderBarColor()
The color of the blunder bar
-
blunderWinrateThresholds
public java.util.Optional<java.util.List<java.lang.Double>> blunderWinrateThresholds()
The threshold list of the blunder winrate
-
blunderNodeColors
public java.util.Optional<java.util.Map<java.lang.Double,java.awt.Color>> blunderNodeColors()
The color list of the blunder node
-
-