Class StylistEffect

java.lang.Object
com.github.tommyettinger.textra.Effect
com.github.tommyettinger.textra.effects.StylistEffect

public class StylistEffect extends Effect
Enables style properties for the single glyph (or affected text, if all is true) underneath the pointer/mouse, and disables them when not underneath.
  • Constructor Details

  • Method Details

    • onApply

      protected void onApply(long glyph, int localIndex, int globalIndex, float delta)
      Description copied from class: Effect
      Called when this effect should be applied to the given glyph.
      Specified by:
      onApply in class Effect