Class ImageArcBackdrop


public class ImageArcBackdrop extends SolidArcBackdrop
  • Field Details

    • _image

      protected SubTex _image
      The image to draw.
    • _texState

      protected TextureState _texState
  • Constructor Details

    • ImageArcBackdrop

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

      public ImageArcBackdrop(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 SolidArcBackdrop
      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)