Class sub_arctic.output.drawable
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sub_arctic.output.drawable

java.lang.Object
   |
   +----java.awt.Graphics
           |
           +----sub_arctic.output.drawable

public class drawable
extends Graphics
Specialization of, and wrapper for, Graphics class.

This class provides a specialization of the AWT Graphics class that modifies drawing operations slightly to work better with subArctic (e.g., in the area of image drawing), and add some operations for convenience purposes.

Since we don't have access to the construction process for Graphics objects, we can't effectively subclass Graphics in the normal way to specialize it. Instead we create a wrapper around an existing Graphics object. For the most part, we just forward all the operations to the wrapped object. Only in a few places do we extend the API.

Routines that are not documented here are forwarded directly to the Graphics class (see that class for details).

Author:
Scott Hudson
See Also:
Graphics

Variable Index

 o _ignore
An observer object for effectively ignoring observation.
 o g
Graphics object that we are a wrapper for

Constructor Index

 o drawable(Graphics)
Construct a drawable from a Graphics object.

Method Index

 o arrowhead_bound(int, int, int, int, int, int, double, Point, Point)
Find the min and max points bounding the arrowhead that would be drawn at the second point on the given line.
 o arrowhead_bound(int, int, int, int, Point, Point)
Find the min and max points bounding the arrowhead that would be drawn at the second point on the given line.
 o clear_rect(int, int, int, int)
 o clearRect(int, int, int, int)
 o clip_rect(int, int, int, int)
 o clipRect(int, int, int, int)
 o copy()
New version of create() that returns a drawable.
 o copy(int, int, int, int)
New version of create() that returns a drawable.
 o copy_area(int, int, int, int, int, int)
 o copyArea(int, int, int, int, int, int)
 o create()
Override create() to create a new wrapper also.
 o create(int, int, int, int)
Override create() to create a new wrapper also.
 o dispose()
 o draw3DRect(int, int, int, int, boolean)
 o draw_3D_rect(int, int, int, int, boolean)
 o draw_arc(int, int, int, int, int, int)
 o draw_arrowhead(int, int, int, int)
Draw a hollow arrowhead (as lines) at the second end of the given line (this does not draw the line).
 o draw_arrowhead(int, int, int, int, int, int, double)
Draw a hollow arrowhead (as lines) at the second end of the given line (this does not draw the line).

 o draw_bytes(byte[], int, int, int, int)
 o draw_chars(char[], int, int, int, int)
 o draw_image(Image, int, int, Color, ImageObserver)
 o draw_image(Image, int, int, ImageObserver)
 o draw_image(Image, int, int, int, int, Color, ImageObserver)
 o draw_image(Image, int, int, int, int, ImageObserver)
 o draw_image(loaded_image, int, int)
subArctic style renaming of drawImage.
 o draw_image(loaded_image, int, int, Color)
subArctic style renaming of drawImage
 o draw_image(loaded_image, int, int, int, int)
subArctic style renaming of drawImage.
 o draw_image(loaded_image, int, int, int, int, Color)
subArctic style renaming of drawImage
 o draw_line(int, int, int, int)
 o draw_oval(int, int, int, int)
 o draw_polygon(int[], int[], int)
 o draw_polygon(Polygon)
 o draw_rect(int, int, int, int)
 o draw_round_rect(int, int, int, int, int, int)
 o draw_string(String, int, int)
 o drawArc(int, int, int, int, int, int)
 o drawBytes(byte[], int, int, int, int)
 o drawChars(char[], int, int, int, int)
 o drawImage(Image, int, int, Color, ImageObserver)
 o drawImage(Image, int, int, ImageObserver)
 o drawImage(Image, int, int, int, int, Color, ImageObserver)
 o drawImage(Image, int, int, int, int, ImageObserver)
 o drawImage(loaded_image, int, int)
Extended draw image that can deal with a loaded_image w/o an observer.
 o drawImage(loaded_image, int, int, Color)
Extended draw image that can deal with a loaded_image w/o an observer.
 o drawImage(loaded_image, int, int, int, int)
Extended draw image that can deal with a loaded_image w/o an observer.
 o drawImage(loaded_image, int, int, int, int, Color)
Extended draw image that can deal with a loaded_image w/o an observer.
 o drawLine(int, int, int, int)
 o drawOval(int, int, int, int)
 o drawPolygon(int[], int[], int)
 o drawPolygon(Polygon)
 o drawRect(int, int, int, int)
 o drawRoundRect(int, int, int, int, int, int)
 o drawString(String, int, int)
 o end_interactor_draw(interactor)
Method to be called to mark the end of output for a particular interactor.
 o fill3DRect(int, int, int, int, boolean)
 o fill_3D_rect(int, int, int, int, boolean)
 o fill_arc(int, int, int, int, int, int)
 o fill_arrowhead(int, int, int, int)
Draw a filled arrowhead polygon (with good defaults) at the second end of the given line (this does not draw the line).
 o fill_arrowhead(int, int, int, int, int, int, double)
Draw a filled arrowhead polygon at the second end of the given line (this does not draw the line).

 o fill_oval(int, int, int, int)
 o fill_polygon(int[], int[], int)
 o fill_polygon(Polygon)
 o fill_rect(int, int, int, int)
 o fill_round_rect(int, int, int, int, int, int)
 o fillArc(int, int, int, int, int, int)
 o fillOval(int, int, int, int)
 o fillPolygon(int[], int[], int)
 o fillPolygon(Polygon)
 o fillRect(int, int, int, int)
 o fillRoundRect(int, int, int, int, int, int)
 o finalize()
 o get_clip_rect()
 o get_color()
 o get_font()
 o get_font_metrics()
 o get_font_metrics(Font)
 o getClipRect()
 o getColor()
 o getFont()
 o getFontMetrics()
 o getFontMetrics(Font)
 o mark_interactor_draw(interactor, Object)
Method to be called to mark a significant point during output for a particular interactor.
 o set_color(Color)
 o set_font(Font)
 o set_paint_mode()
 o set_XOR_mode(Color)
 o setColor(Color)
 o setFont(Font)
 o setPaintMode()
 o setXORMode(Color)
 o start_interactor_draw(interactor)
Method to be called to mark the beginning of output for a particular interactor.
 o tile_image(loaded_image, int, int, int, int)
subArctic style renaming of tileImage
 o tileImage(loaded_image, int, int, int, int)
Tiled drawing of a pattern image over an area.
 o toString()
Convert to a human readable string.
 o translate(int, int)

Variables

 o g
  protected Graphics g
Graphics object that we are a wrapper for
 o _ignore
  protected static ignore_observer _ignore
An observer object for effectively ignoring observation.

Constructors

 o drawable
  public drawable(Graphics wrappee)
Construct a drawable from a Graphics object.
Parameters:
Graphics - wrappee the object we are wrapper around.

Methods

 o create
  public Graphics create()
Override create() to create a new wrapper also. Note: subclasses will typically need to do this also.
Returns:
Graphics a new drawable object copied from this one.
Overrides:
create in class Graphics
 o create
  public Graphics create(int x,
                         int y,
                         int w,
                         int h)
Override create() to create a new wrapper also. Note: subclasses will typically need to do this also.
Parameters:
int - x x component of origin of new drawable
int - y y component of origin of new drawable
int - w width of new drawable
int - h height of new drawable
Returns:
Graphics a new drawable object derived from this one.
Overrides:
create in class Graphics
 o copy
  public drawable copy()
New version of create() that returns a drawable. This does exactly the same thing as create(), but is just more accurate about its return type.
Returns:
Graphics a new drawable object copied from this one.
 o copy
  public drawable copy(int x,
                       int y,
                       int w,
                       int h)
New version of create() that returns a drawable. This does exactly the same thing as create(), but is just more accurate about its return type.
Parameters:
int - x x component of origin of new drawable
int - y y component of origin of new drawable
int - w width of new drawable
int - h height of new drawable
Returns:
Graphics a new drawable object derived from this one.
 o start_interactor_draw
  public boolean start_interactor_draw(interactor of_interactor)
Method to be called to mark the beginning of output for a particular interactor. This is normally called (only) in draw_self(). The return value indicates whether the interactor (and its children) should be drawn (i.e., if false is returned, the drawing should be skipped and draw_self() should simply return). Here, this call is simply ignored and true is always returned. In subclasses, this is used as a hook for special effects such as isolating the drawing of an interactor from that of its children.
Parameters:
interactor - of_interactor the interactor we are starting to draw
boolean - whether the drawing of the interactor (and its children) should be performed.
See Also:
mark_interactor_draw, end_interactor_draw
 o mark_interactor_draw
  public boolean mark_interactor_draw(interactor of_interactor,
                                      Object mark_obj)
Method to be called to mark a significant point during output for a particular interactor. The return value indicates whether the remaining output for the interactor (and its children) should be drawn (i.e., if false is returned, the remaining drawing should be skipped). The type and effect of the mark_obj parameter to this routine (as well as the effect of the routine) is dependent on subclasses that implement special effects via this call. Here in the base class, this call is simply ignored and true is always returned.
Parameters:
interactor - of_interactor the interactor we are currently drawing
Object - mark_obj an object giving additional information about the mark
boolean - whether the drawing of the interactor (and its children) should be performed.
See Also:
start_interactor_draw, end_interactor_draw
 o end_interactor_draw
  public void end_interactor_draw(interactor of_interactor)
Method to be called to mark the end of output for a particular interactor. This is normally called (only) in draw_self(). Here, this call is simply ignored. In subclasses, this is used as a hook for special effects such as isolating the drawing of an interactor from that of its children.
Parameters:
interactor - of_interactor the interactor we are starting to draw
See Also:
mark_interactor_draw, start_interactor_draw
 o drawImage
  public boolean drawImage(loaded_image img,
                           int x,
                           int y)
Extended draw image that can deal with a loaded_image w/o an observer. If the image has not actually been loaded yet, this will block until it has.
Parameters:
loaded_image - img the image to be drawn.
int - x x position to place the image at.
int - y y position to place the image at.
Returns:
boolean undocumented return value from AWT drawImage() routine.
 o drawImage
  public boolean drawImage(loaded_image img,
                           int x,
                           int y,
                           int w,
                           int h)
Extended draw image that can deal with a loaded_image w/o an observer. If the image has not actually been loaded yet, this will block until it has.
Parameters:
loaded_image - img the image to be drawn.
int - x x position to place the image at.
int - y y position to place the image at.
int - w width image will be scaled to.
int - h height image will be scaled to.
Returns:
boolean undocumented return value from AWT drawImage() routine.
 o drawImage
  public boolean drawImage(loaded_image img,
                           int x,
                           int y,
                           Color bgcolor)
Extended draw image that can deal with a loaded_image w/o an observer. If the image has not actually been loaded yet, this will block until it has.
Parameters:
loaded_image - img the image to be drawn.
int - x x position to place the image at.
int - y y position to place the image at.
Color - bgcolor background color.
Returns:
boolean undocumented return value from AWT drawImage() routine.
 o drawImage
  public boolean drawImage(loaded_image img,
                           int x,
                           int y,
                           int w,
                           int h,
                           Color bgcolor)
Extended draw image that can deal with a loaded_image w/o an observer. If the image has not actually been loaded yet, this will block until it has.
Parameters:
loaded_image - img the image to be drawn.
int - x x position to place the image at.
int - y y position to place the image at.
int - w width image will be scaled to.
int - h height image will be scaled to.
Color - bgcolor background color.
Returns:
boolean undocumented return value from AWT drawImage() routine.
 o draw_image
  public boolean draw_image(loaded_image img,
                            int x,
                            int y)
subArctic style renaming of drawImage.
Parameters:
loaded_image - img the image to be drawn.
int - x x position to place the image at.
int - y y position to place the image at.
Returns:
boolean undocumented return value from AWT drawImage() routine.
 o draw_image
  public boolean draw_image(loaded_image img,
                            int x,
                            int y,
                            int w,
                            int h)
subArctic style renaming of drawImage.
Parameters:
loaded_image - img the image to be drawn.
int - x x position to place the image at.
int - y y position to place the image at.
int - w width image will be scaled to.
int - h height image will be scaled to.
Returns:
boolean undocumented return value from AWT drawImage() routine.
 o draw_image
  public boolean draw_image(loaded_image img,
                            int x,
                            int y,
                            Color bgcolor)
subArctic style renaming of drawImage
Parameters:
loaded_image - img the image to be drawn.
int - x x position to place the image at.
int - y y position to place the image at.
Color - bgcolor background color.
Returns:
boolean undocumented return value from AWT drawImage() routine.
 o draw_image
  public boolean draw_image(loaded_image img,
                            int x,
                            int y,
                            int w,
                            int h,
                            Color bgcolor)
subArctic style renaming of drawImage
Parameters:
loaded_image - img the image to be drawn.
int - x x position to place the image at.
int - y y position to place the image at.
int - w width image will be scaled to.
int - h height image will be scaled to.
Color - bgcolor background color.
Returns:
boolean undocumented return value from AWT drawImage() routine.
 o tileImage
  public boolean tileImage(loaded_image pattern,
                           int x,
                           int y,
                           int w,
                           int h)
Tiled drawing of a pattern image over an area. The given image is drawn repeatedly to fill the given area.
Parameters:
loaded_image - pattern the pattern to be tiled with the given space.
int - x x position to place the image at.
int - y y position to place the image at.
int - w width of area to tile.
int - h height of area to tile.
Returns:
boolean undocumented return value from AWT drawImage() routine.
 o tile_image
  public boolean tile_image(loaded_image pattern,
                            int x,
                            int y,
                            int w,
                            int h)
subArctic style renaming of tileImage
Parameters:
loaded_image - pattern the pattern to be tiled with the given space.
int - x x position to place the image at.
int - y y position to place the image at.
int - w width of area to tile.
int - h height of area to tile.
Returns:
boolean undocumented return value from AWT drawImage() routine.
 o fill_arrowhead
  public void fill_arrowhead(int x1,
                             int y1,
                             int x2,
                             int y2,
                             int arrow_head_len,
                             int arrow_head_angle,
                             double arrow_inset)
Draw a filled arrowhead polygon at the second end of the given line (this does not draw the line).

Parameters:
int - x1 first x coordinate of the line
int - y1 first y coordinate of the line
int - x2 second x coordinate of the line (arrow head point goes here)
int - y2 second y coordinate of the line (arrow head point goes here)
int - arrow_head_len length of the sides of the arrow head
int - arrow_head_angle angle between each side and the line in degrees
double - arrow_inset percent inset for base of arrow [0..1] (values around 0.60 seem to work well).
 o fill_arrowhead
  public void fill_arrowhead(int x1,
                             int y1,
                             int x2,
                             int y2)
Draw a filled arrowhead polygon (with good defaults) at the second end of the given line (this does not draw the line).
Parameters:
int - x1 first x coordinate of the line
int - y1 first y coordinate of the line
int - x2 second x coordinate of the line (arrow head point goes here)
int - y2 second y coordinate of the line (arrow head point goes here)
 o draw_arrowhead
  public void draw_arrowhead(int x1,
                             int y1,
                             int x2,
                             int y2,
                             int arrow_head_len,
                             int arrow_head_angle,
                             double arrow_inset)
Draw a hollow arrowhead (as lines) at the second end of the given line (this does not draw the line).

Parameters:
int - x1 first x coordinate of the line.
int - y1 first y coordinate of the line.
int - x2 second x coordinate of the line (arrow head point goes here).
int - y2 second y coordinate of the line (arrow head point goes here).
int - arrow_head_len length of the sides of the arrow head.
int - arrow_head_angle angle between each side and the line in degrees.
double - arrow_inset percent inset for base of arrow [0..1] (values around 0.60 seem to work well).
 o draw_arrowhead
  public void draw_arrowhead(int x1,
                             int y1,
                             int x2,
                             int y2)
Draw a hollow arrowhead (as lines) at the second end of the given line (this does not draw the line). This version provides good defaults for the arrow size and shape.

Parameters:
int - x1 first x coordinate of the line
int - y1 first y coordinate of the line
int - x2 second x coordinate of the line (arrow head point goes here)
int - y2 second y coordinate of the line (arrow head point goes here)
 o arrowhead_bound
  public void arrowhead_bound(int x1,
                              int y1,
                              int x2,
                              int y2,
                              int arrow_head_len,
                              int arrow_head_angle,
                              double arrow_inset,
                              Point min_pt,
                              Point max_pt)
Find the min and max points bounding the arrowhead that would be drawn at the second point on the given line.

Parameters:
int - x1 first x coordinate of the line
int - y1 first y coordinate of the line
int - x2 second x coordinate of the line (arrow head point goes here)
int - y2 second y coordinate of the line (arrow head point goes here)
int - arrow_head_len length of the sides of the arrow head
int - arrow_head_angle angle between each side and the line in degrees
double - arrow_inset percent inset for base of arrow [0..1]
Point - min_pt returns holding the min x,y of the bound
Point - max_pt returns holding the max x,y of the bound
 o arrowhead_bound
  public void arrowhead_bound(int x1,
                              int y1,
                              int x2,
                              int y2,
                              Point min_pt,
                              Point max_pt)
Find the min and max points bounding the arrowhead that would be drawn at the second point on the given line.

Parameters:
int - x1 first x coordinate of the line
int - y1 first y coordinate of the line
int - x2 second x coordinate of the line (arrow head point goes here)
int - y2 second y coordinate of the line (arrow head point goes here)
Point - min_pt returns holding the min x,y of the bound
Point - max_pt returns holding the max x,y of the bound
 o translate
  public void translate(int x,
                        int y)
Overrides:
translate in class Graphics
 o getColor
  public Color getColor()
Overrides:
getColor in class Graphics
 o get_color
  public Color get_color()
 o setColor
  public void setColor(Color c)
Overrides:
setColor in class Graphics
 o set_color
  public void set_color(Color c)
 o setPaintMode
  public void setPaintMode()
Overrides:
setPaintMode in class Graphics
 o set_paint_mode
  public void set_paint_mode()
 o setXORMode
  public void setXORMode(Color c)
Overrides:
setXORMode in class Graphics
 o set_XOR_mode
  public void set_XOR_mode(Color c)
 o getFont
  public Font getFont()
Overrides:
getFont in class Graphics
 o get_font
  public Font get_font()
 o setFont
  public void setFont(Font font)
Overrides:
setFont in class Graphics
 o set_font
  public void set_font(Font font)
 o getFontMetrics
  public FontMetrics getFontMetrics()
Overrides:
getFontMetrics in class Graphics
 o get_font_metrics
  public FontMetrics get_font_metrics()
 o getFontMetrics
  public FontMetrics getFontMetrics(Font f)
Overrides:
getFontMetrics in class Graphics
 o get_font_metrics
  public FontMetrics get_font_metrics(Font f)
 o getClipRect
  public Rectangle getClipRect()
Overrides:
getClipRect in class Graphics
 o get_clip_rect
  public Rectangle get_clip_rect()
 o clipRect
  public void clipRect(int x,
                       int y,
                       int w,
                       int h)
Overrides:
clipRect in class Graphics
 o clip_rect
  public void clip_rect(int x,
                        int y,
                        int w,
                        int h)
 o copyArea
  public void copyArea(int x,
                       int y,
                       int w,
                       int h,
                       int dx,
                       int dy)
Overrides:
copyArea in class Graphics
 o copy_area
  public void copy_area(int x,
                        int y,
                        int w,
                        int h,
                        int dx,
                        int dy)
 o drawLine
  public void drawLine(int x1,
                       int y1,
                       int x2,
                       int y2)
Overrides:
drawLine in class Graphics
 o draw_line
  public void draw_line(int x1,
                        int y1,
                        int x2,
                        int y2)
 o fillRect
  public void fillRect(int x,
                       int y,
                       int w,
                       int h)
Overrides:
fillRect in class Graphics
 o fill_rect
  public void fill_rect(int x,
                        int y,
                        int w,
                        int h)
 o drawRect
  public void drawRect(int x,
                       int y,
                       int w,
                       int h)
Overrides:
drawRect in class Graphics
 o draw_rect
  public void draw_rect(int x,
                        int y,
                        int w,
                        int h)
 o clearRect
  public void clearRect(int x,
                        int y,
                        int w,
                        int h)
Overrides:
clearRect in class Graphics
 o clear_rect
  public void clear_rect(int x,
                         int y,
                         int w,
                         int h)
 o drawRoundRect
  public void drawRoundRect(int x,
                            int y,
                            int w,
                            int h,
                            int arcw,
                            int arch)
Overrides:
drawRoundRect in class Graphics
 o draw_round_rect
  public void draw_round_rect(int x,
                              int y,
                              int w,
                              int h,
                              int arcw,
                              int arch)
 o fillRoundRect
  public void fillRoundRect(int x,
                            int y,
                            int w,
                            int h,
                            int arcw,
                            int arch)
Overrides:
fillRoundRect in class Graphics
 o fill_round_rect
  public void fill_round_rect(int x,
                              int y,
                              int w,
                              int h,
                              int arcw,
                              int arch)
 o draw3DRect
  public void draw3DRect(int x,
                         int y,
                         int w,
                         int h,
                         boolean raised)
Overrides:
draw3DRect in class Graphics
 o draw_3D_rect
  public void draw_3D_rect(int x,
                           int y,
                           int w,
                           int h,
                           boolean raised)
 o fill3DRect
  public void fill3DRect(int x,
                         int y,
                         int w,
                         int h,
                         boolean raised)
Overrides:
fill3DRect in class Graphics
 o fill_3D_rect
  public void fill_3D_rect(int x,
                           int y,
                           int w,
                           int h,
                           boolean raised)
 o drawOval
  public void drawOval(int x,
                       int y,
                       int w,
                       int h)
Overrides:
drawOval in class Graphics
 o draw_oval
  public void draw_oval(int x,
                        int y,
                        int w,
                        int h)
 o fillOval
  public void fillOval(int x,
                       int y,
                       int w,
                       int h)
Overrides:
fillOval in class Graphics
 o fill_oval
  public void fill_oval(int x,
                        int y,
                        int w,
                        int h)
 o drawArc
  public void drawArc(int x,
                      int y,
                      int w,
                      int h,
                      int start_ang,
                      int arc_ang)
Overrides:
drawArc in class Graphics
 o draw_arc
  public void draw_arc(int x,
                       int y,
                       int w,
                       int h,
                       int start_ang,
                       int arc_ang)
 o fillArc
  public void fillArc(int x,
                      int y,
                      int w,
                      int h,
                      int start_ang,
                      int arc_ang)
Overrides:
fillArc in class Graphics
 o fill_arc
  public void fill_arc(int x,
                       int y,
                       int w,
                       int h,
                       int start_ang,
                       int arc_ang)
 o drawPolygon
  public void drawPolygon(int xp[],
                          int yp[],
                          int np)
Overrides:
drawPolygon in class Graphics
 o draw_polygon
  public void draw_polygon(int xp[],
                           int yp[],
                           int np)
 o drawPolygon
  public void drawPolygon(Polygon p)
Overrides:
drawPolygon in class Graphics
 o draw_polygon
  public void draw_polygon(Polygon p)
 o fillPolygon
  public void fillPolygon(int xp[],
                          int yp[],
                          int np)
Overrides:
fillPolygon in class Graphics
 o fill_polygon
  public void fill_polygon(int xp[],
                           int yp[],
                           int np)
 o fillPolygon
  public void fillPolygon(Polygon p)
Overrides:
fillPolygon in class Graphics
 o fill_polygon
  public void fill_polygon(Polygon p)
 o drawString
  public void drawString(String str,
                         int x,
                         int y)
Overrides:
drawString in class Graphics
 o draw_string
  public void draw_string(String str,
                          int x,
                          int y)
 o drawChars
  public void drawChars(char data[],
                        int off,
                        int len,
                        int x,
                        int y)
Overrides:
drawChars in class Graphics
 o draw_chars
  public void draw_chars(char data[],
                         int off,
                         int len,
                         int x,
                         int y)
 o drawBytes
  public void drawBytes(byte data[],
                        int off,
                        int len,
                        int x,
                        int y)
Overrides:
drawBytes in class Graphics
 o draw_bytes
  public void draw_bytes(byte data[],
                         int off,
                         int len,
                         int x,
                         int y)
 o drawImage
  public boolean drawImage(Image img,
                           int x,
                           int y,
                           ImageObserver observer)
Overrides:
drawImage in class Graphics
 o draw_image
  public boolean draw_image(Image img,
                            int x,
                            int y,
                            ImageObserver observer)
 o drawImage
  public boolean drawImage(Image img,
                           int x,
                           int y,
                           int w,
                           int h,
                           ImageObserver obs)
Overrides:
drawImage in class Graphics
 o draw_image
  public boolean draw_image(Image img,
                            int x,
                            int y,
                            int w,
                            int h,
                            ImageObserver obs)
 o drawImage
  public boolean drawImage(Image img,
                           int x,
                           int y,
                           Color bgcolor,
                           ImageObserver obs)
Overrides:
drawImage in class Graphics
 o draw_image
  public boolean draw_image(Image img,
                            int x,
                            int y,
                            Color bgcolor,
                            ImageObserver obs)
 o drawImage
  public boolean drawImage(Image img,
                           int x,
                           int y,
                           int w,
                           int h,
                           Color bgcolor,
                           ImageObserver obs)
Overrides:
drawImage in class Graphics
 o draw_image
  public boolean draw_image(Image img,
                            int x,
                            int y,
                            int w,
                            int h,
                            Color bgcolor,
                            ImageObserver obs)
 o dispose
  public void dispose()
Overrides:
dispose in class Graphics
 o finalize
  public void finalize()
Overrides:
finalize in class Graphics
 o toString
  public String toString()
Convert to a human readable string.
Overrides:
toString in class Graphics

All Packages  Class Hierarchy  This Package  Previous  Next  Index