Eclipse Platform
Release 3.1

org.eclipse.ui.texteditor
Class ImageUtilities

java.lang.Object
  extended byorg.eclipse.ui.texteditor.ImageUtilities

Deprecated. As of 3.0, replaced by ImageUtilities

public class ImageUtilities
extends Object

Since:
3.0

Constructor Summary
ImageUtilities()
          Deprecated.  
 
Method Summary
static void drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int align)
          Deprecated. As of 3.0, replaced by ImageUtilities.drawImage(Image, GC, Canvas, Rectangle, int)
static void drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int halign, int valign)
          Deprecated. As of 3.0, replaced by ImageUtilities.drawImage(Image, GC, Canvas, Rectangle, int, int)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageUtilities

public ImageUtilities()
Deprecated. 
Method Detail

drawImage

public static void drawImage(Image image,
                             GC gc,
                             Canvas canvas,
                             Rectangle r,
                             int halign,
                             int valign)
Deprecated. As of 3.0, replaced by ImageUtilities.drawImage(Image, GC, Canvas, Rectangle, int, int)

Draws an image aligned inside the given rectangle on the given canvas.

Parameters:
image - the image to be drawn
gc - the drawing GC
canvas - the canvas on which to draw
r - the clipping rectangle
halign - the horizontal alignment of the image to be drawn
valign - the vertical alignment of the image to be drawn

drawImage

public static void drawImage(Image image,
                             GC gc,
                             Canvas canvas,
                             Rectangle r,
                             int align)
Deprecated. As of 3.0, replaced by ImageUtilities.drawImage(Image, GC, Canvas, Rectangle, int)

Draws an image aligned inside the given rectangle on the given canvas.

Parameters:
image - the image to be drawn
gc - the drawing GC
canvas - the canvas on which to draw
r - the clipping rectangle
align - the alignment of the image to be drawn

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.