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.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description StylistEffect(TypingLabel label, java.lang.String[] params) -
Method Summary
Modifier and Type Method Description protected voidonApply(long glyph, int localIndex, int globalIndex, float delta)Called when this effect should be applied to the given glyph.Methods inherited from class com.github.tommyettinger.textra.Effect
apply, calculateFadeout, calculateProgress, calculateProgress, calculateProgress, isFinished, paramAsBoolean, paramAsColor, paramAsFloat, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait