Interface TextDecorationAndState

All Superinterfaces:
ComponentBuilderApplicable, net.kyori.examination.Examinable, StyleBuilderApplicable

@NonExtendable
public interface TextDecorationAndState
extends net.kyori.examination.Examinable, StyleBuilderApplicable
A combination of a TextDecoration and a TextDecoration.State.
Since:
4.8.0
  • Method Details

    • decoration

      @NonNull TextDecoration decoration()
      Gets the decoration.
      Returns:
      the decoration
      Since:
      4.8.0
    • state

      @NonNull TextDecoration.State state()
      Gets the state.
      Returns:
      the state
      Since:
      4.8.0
    • styleApply

      default void styleApply​(@NonNull Style.Builder style)
      Description copied from interface: StyleBuilderApplicable
      Applies to style.
      Specified by:
      styleApply in interface StyleBuilderApplicable
      Parameters:
      style - the style builder
    • examinableProperties

      default @NonNull Stream<? extends net.kyori.examination.ExaminableProperty> examinableProperties()
      Specified by:
      examinableProperties in interface net.kyori.examination.Examinable