Class ScaleEffect

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

public class ScaleEffect
extends Effect
Permanently sets the size of text. Doesn't change over time.
  • Constructor Details

    • ScaleEffect

      public ScaleEffect​(TypingLabel label, java.lang.String[] params)
  • 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