com.twelvemonkeys.image
Class BufferedImageIcon
java.lang.Object
com.twelvemonkeys.image.BufferedImageIcon
- All Implemented Interfaces:
- Icon
public class BufferedImageIcon
- extends Object
- implements Icon
An Icon implementation backed by a BufferedImage.
- Version:
- $Id: //depot/branches/personal/haraldk/twelvemonkeys/release-2/twelvemonkeys-core/src/main/java/com/twelvemonkeys/image/BufferedImageIcon.java#2 $
- Author:
- Harald Kuhr
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BufferedImageIcon
public BufferedImageIcon(BufferedImage pImage)
BufferedImageIcon
public BufferedImageIcon(BufferedImage pImage,
int pWidth,
int pHeight)
BufferedImageIcon
public BufferedImageIcon(BufferedImage pImage,
int pWidth,
int pHeight,
boolean useFastRendering)
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight in interface Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth in interface Icon
paintIcon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
- Specified by:
paintIcon in interface Icon
Copyright © 2015. All Rights Reserved.