Interface ThemedTextGraphics
- All Superinterfaces:
StyleSet<TextGraphics>, TextGraphics
- All Known Subinterfaces:
TextGUIGraphics
- All Known Implementing Classes:
DefaultTextGUIGraphics
Expanded TextGraphics that adds methods to interact with themes
-
Nested Class Summary
Nested classes/interfaces inherited from interface StyleSet
StyleSet.Set -
Method Summary
Modifier and TypeMethodDescriptionapplyThemeStyle(ThemeStyle themeStyle) Takes a ThemeStyle as applies it to this TextGraphics.Methods inherited from interface StyleSet
clearModifiers, disableModifiers, enableModifiers, getActiveModifiers, getBackgroundColor, getForegroundColor, setBackgroundColor, setForegroundColor, setModifiers, setStyleFromMethods inherited from interface TextGraphics
drawImage, drawImage, drawLine, drawLine, drawLine, drawLine, drawRectangle, drawRectangle, drawTriangle, drawTriangle, fill, fillRectangle, fillRectangle, fillTriangle, fillTriangle, getCharacter, getCharacter, getSize, getTabBehaviour, newTextGraphics, putCSIStyledString, putCSIStyledString, putString, putString, putString, putString, putString, setCharacter, setCharacter, setCharacter, setCharacter, setTabBehaviour
-
Method Details
-
applyThemeStyle
Takes a ThemeStyle as applies it to this TextGraphics. This will effectively set the foreground color, the background color and all the SGRs.- Parameters:
themeStyle- ThemeStyle to apply- Returns:
- Itself
-