|
Eclipse Draw2d 3.8.0.201206011245 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.draw2d.ImageUtilities
public class ImageUtilities
Constructor Summary | |
---|---|
ImageUtilities()
|
Method Summary | |
---|---|
static Image |
createRotatedImage(Image srcImage)
Returns a new Image that is the given Image rotated left by 90 degrees. |
static Image |
createRotatedImageOfString(java.lang.String string,
Font font,
Color foreground,
Color background)
Returns a new Image with the given String rotated left (by 90 degrees). |
static ImageData |
createShadedImage(Image fromImage,
Color shade)
Creates an ImageData representing the given Image shaded
with the given Color . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageUtilities()
Method Detail |
---|
public static Image createRotatedImageOfString(java.lang.String string, Font font, Color foreground, Color background)
string
- the String to be renderedfont
- the fontforeground
- the text's colorbackground
- the background color
public static Image createRotatedImage(Image srcImage)
srcImage
- the Image that is to be rotated left
public static ImageData createShadedImage(Image fromImage, Color shade)
Image
shaded
with the given Color
.
fromImage
- Image that has to be shadedshade
- The Color to be used for shading
|
Eclipse Draw2d 3.8.0.201206011245 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |