Class ImageDiskBackdrop


public class ImageDiskBackdrop extends SolidDiskBackdrop
  • Field Details

    • _image

      protected SubTex _image
      The image to draw.
    • _texState

      protected TextureState _texState
  • Constructor Details

    • ImageDiskBackdrop

      public ImageDiskBackdrop(SubTex image)
      Construct this back drop, using the given image.
      Parameters:
      image - the image
    • ImageDiskBackdrop

      public ImageDiskBackdrop(SubTex image, ReadOnlyColorRGBA color)
      Construct this back drop, using the given image and color.
      Parameters:
      image - the image to draw
      color - the color of the backdrop
  • Method Details

    • draw

      public void draw(Renderer renderer, UIComponent comp)
      Description copied from class: UIBackdrop
      Draw this backdrop. Override this method to do the actual work.
      Overrides:
      draw in class SolidDiskBackdrop
      Parameters:
      renderer - the renderer to use in drawing.
      comp - the component we are drawing the background for.
    • getImage

      public SubTex getImage()
    • setImage

      public void setImage(SubTex image)