Class GuiOsmConstants.FileTexturePaint

java.lang.Object
java.awt.TexturePaint
org.ka2ddo.yaac.gui.osm.GuiOsmConstants.FileTexturePaint
All Implemented Interfaces:
Paint, Transparency
Enclosing class:
GuiOsmConstants

public static class GuiOsmConstants.FileTexturePaint extends TexturePaint
A TexturePaint object with an associated file path where the image was loaded from.
  • Constructor Details

    • FileTexturePaint

      public FileTexturePaint(BufferedImage img, String imagePath)
      Constructor for FileTexturePaint.
      Parameters:
      img - BufferedImage to use for the TexturePaint
      imagePath - String pathname where the image was loaded from
  • Method Details

    • getImagePath

      public String getImagePath()
      Get the filesystem path associated with this FileTexturePaint.
      Returns:
      String pathname associated with this TexturePaint's image