Package org.ka2ddo.yaac.gui.osm
Class GuiOsmConstants.FileTexturePaint
java.lang.Object
java.awt.TexturePaint
org.ka2ddo.yaac.gui.osm.GuiOsmConstants.FileTexturePaint
- All Implemented Interfaces:
Paint
,Transparency
- Enclosing class:
- GuiOsmConstants
A TexturePaint object with an associated file path where the image was loaded from.
-
Field Summary
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
-
Constructor Summary
ConstructorDescriptionFileTexturePaint
(BufferedImage img, String imagePath) Constructor for FileTexturePaint. -
Method Summary
Modifier and TypeMethodDescriptionGet the filesystem path associated with this FileTexturePaint.Methods inherited from class java.awt.TexturePaint
createContext, getAnchorRect, getImage, getTransparency
-
Constructor Details
-
FileTexturePaint
Constructor for FileTexturePaint.- Parameters:
img
- BufferedImage to use for the TexturePaintimagePath
- String pathname where the image was loaded from
-
-
Method Details
-
getImagePath
Get the filesystem path associated with this FileTexturePaint.- Returns:
- String pathname associated with this TexturePaint's image
-