Package mindustry.ui

Class BorderImage


public class BorderImage extends Image
  • Field Details

    • thickness

      public float thickness
    • pad

      public float pad
    • borderColor

      public Color borderColor
  • Constructor Details

    • BorderImage

      public BorderImage()
    • BorderImage

      public BorderImage(Texture texture)
    • BorderImage

      public BorderImage(Texture texture, float thick)
    • BorderImage

      public BorderImage(TextureRegion region, float thick)
    • BorderImage

      public BorderImage(Drawable region)
  • Method Details

    • border

      public BorderImage border(Color color)
    • draw

      public void draw()
      Description copied from class: Element
      Draws the element. Does nothing by default.
      Overrides:
      draw in class Image