|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.text.source.ImageUtilities
public class ImageUtilities
Provides methods for drawing images onto a canvas.
This class is neither intended to be instantiated nor subclassed.
| 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 drawn
public 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.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.