Class ScaledImagePainter

java.lang.Object
VASSAL.tools.imageop.ScaledImagePainter

public class ScaledImagePainter extends Object
Paints an image at arbitrary scale. Uses the ImageOp interfaces to lazily fetch and cache images.
Since:
3.1.0
Author:
rodneykinney
  • Field Details

  • Constructor Details

    • ScaledImagePainter

      public ScaledImagePainter()
  • Method Details

    • setImageName

      public void setImageName(String imageName)
    • getImageSize

      public Dimension getImageSize()
    • draw

      public void draw(Graphics g, int x, int y, double scale, ImageObserver obs)
    • getSource

      public ImageOp getSource()
    • setSource

      public void setSource(ImageOp src)