Module net.kyori.adventure.api
Package net.kyori.adventure.text.format
Interface TextDecorationAndState
- All Superinterfaces:
ComponentBuilderApplicable,StyleBuilderApplicable
A combination of a
TextDecoration and a TextDecoration.State.- Since:
- 4.8.0
-
Method Summary
Modifier and TypeMethodDescriptionGets the decoration.state()Gets the state.default voidstyleApply(Style.Builder style) Applies tostyle.Methods inherited from interface net.kyori.adventure.text.format.StyleBuilderApplicable
componentBuilderApply
-
Method Details
-
decoration
TextDecoration decoration()Gets the decoration.- Returns:
- the decoration
- Since:
- 4.8.0
-
state
TextDecoration.State state()Gets the state.- Returns:
- the state
- Since:
- 4.8.0
-
styleApply
Description copied from interface:StyleBuilderApplicableApplies tostyle.- Specified by:
styleApplyin interfaceStyleBuilderApplicable- Parameters:
style- the style builder
-