Class LabelWithShadow

All Implemented Interfaces:
Layout

public final class LabelWithShadow extends Label
  • Field Details

    • shadowColor

      public Color shadowColor
    • shiftX

      public float shiftX
    • shiftY

      public float shiftY
  • Constructor Details

  • Method Details

    • setShadowColor

      public LabelWithShadow setShadowColor(Color color)
    • setShadowShift

      public LabelWithShadow setShadowShift(float x, float y)
    • draw

      public void draw(Batch batch, float parentAlpha)
      Description copied from class: com.badlogic.gdx.scenes.scene2d.ui.Widget
      If this method is overridden, the super method or Widget.validate() should be called to ensure the widget is laid out.
      Overrides:
      draw in class Label
      parentAlpha - The parent alpha, to be multiplied with this actor's alpha, allowing the parent's alpha to affect all children.