|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.text.source.ImageUtilities
Provides methods for drawing images onto a canvas.
Constructor Summary | |
ImageUtilities()
|
Method Summary | |
static void |
drawImage(Image image,
GC gc,
Canvas canvas,
Rectangle r,
int align)
Draws an image aligned inside the given rectangle on the given canvas. |
static void |
drawImage(Image image,
GC gc,
Canvas canvas,
Rectangle r,
int halign,
int valign)
Draws an image aligned inside the given rectangle on the given canvas. |
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 void drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int halign, int valign)
image
- the image to be drawngc
- the drawing GCcanvas
- the canvas on which to drawr
- the clipping rectanglehalign
- the horizontal alignment of the image to be drawnvalign
- the vertical alignment of the image to be drawnpublic static void drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int align)
image
- the image to be drawngc
- the drawing GCcanvas
- the canvas on which to drawr
- the clipping rectanglealign
- the alignment of the image to be drawn
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.