org.opensha.commons.util
Class IconGen
java.lang.Object
org.opensha.commons.util.IconGen
public class IconGen
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IconGen
public IconGen(Image background,
String text,
String fontName,
Color fillColor,
Color outlineColor)
IconGen
public IconGen(Map<int[],? extends Image> backgrounds,
String text,
String fontName,
Color fillColor,
Color outlineColor)
loadLocalIcon
public static BufferedImage loadLocalIcon()
throws IOException
- Throws:
IOException
loadServerIcon
public static BufferedImage loadServerIcon()
throws IOException
- Throws:
IOException
loadLogoIcon
public static HashMap<int[],BufferedImage> loadLogoIcon()
throws IOException
- Throws:
IOException
setUpperRightImage
public void setUpperRightImage(Image upperRight)
getIcon
public BufferedImage getIcon(int width,
int height)
main
public static void main(String[] args)
throws IOException
- Parameters:
args -
- Throws:
IOException