|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.antelmann.imagedb.ImageUtils
public class ImageUtils
implements ThirdParty for the use of net.sourceforge.barbecue
| Method Summary | |
|---|---|
static void |
copyToClipboard(Image image)
|
static BufferedImage |
generateBarcodeImage(String code,
String type,
boolean showLabel)
if type is null, Code128 is assumed. |
static BufferedImage |
generateTextImage(String text)
generates an image based on the given text. |
static BufferedImage |
generateTextImage(String text,
Font font,
Color textColor,
Color backgroundColor,
boolean antiAlias)
generates an image based on the given text. |
static Image |
pasteFromClipboard()
returns null if the clipboard content cannot be read into an image |
static BufferedImage |
renderImage(Image image)
allows to convert an Image to a BufferedImage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static BufferedImage generateBarcodeImage(String code,
String type,
boolean showLabel)
throws NoSuchMethodException,
IllegalAccessException,
InvocationTargetException
Code128 is assumed.
NoSuchMethodException
IllegalAccessException
InvocationTargetExceptionBarcodeFactorypublic static Image pasteFromClipboard()
public static void copyToClipboard(Image image)
public static BufferedImage generateTextImage(String text)
public static BufferedImage generateTextImage(String text,
Font font,
Color textColor,
Color backgroundColor,
boolean antiAlias)
font - may be null (in which case the default font is used)public static BufferedImage renderImage(Image image)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||