All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----java.awt.Graphics
|
+----sub_arctic.output.drawable
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).
protected Graphics g
protected static ignore_observer _ignore
public drawable(Graphics wrappee)
public Graphics create()
public Graphics create(int x,
int y,
int w,
int h)
public drawable copy()
public drawable copy(int x,
int y,
int w,
int h)
public boolean start_interactor_draw(interactor of_interactor)
public boolean mark_interactor_draw(interactor of_interactor,
Object mark_obj)
public void end_interactor_draw(interactor of_interactor)
public boolean drawImage(loaded_image img,
int x,
int y)
public boolean drawImage(loaded_image img,
int x,
int y,
int w,
int h)
public boolean drawImage(loaded_image img,
int x,
int y,
Color bgcolor)
public boolean drawImage(loaded_image img,
int x,
int y,
int w,
int h,
Color bgcolor)
public boolean draw_image(loaded_image img,
int x,
int y)
public boolean draw_image(loaded_image img,
int x,
int y,
int w,
int h)
public boolean draw_image(loaded_image img,
int x,
int y,
Color bgcolor)
public boolean draw_image(loaded_image img,
int x,
int y,
int w,
int h,
Color bgcolor)
public boolean tileImage(loaded_image pattern,
int x,
int y,
int w,
int h)
public boolean tile_image(loaded_image pattern,
int x,
int y,
int w,
int h)
public void fill_arrowhead(int x1,
int y1,
int x2,
int y2,
int arrow_head_len,
int arrow_head_angle,
double arrow_inset)
public void fill_arrowhead(int x1,
int y1,
int x2,
int y2)
public void draw_arrowhead(int x1,
int y1,
int x2,
int y2,
int arrow_head_len,
int arrow_head_angle,
double arrow_inset)
public void draw_arrowhead(int x1,
int y1,
int x2,
int y2)
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)
public void arrowhead_bound(int x1,
int y1,
int x2,
int y2,
Point min_pt,
Point max_pt)
public void translate(int x,
int y)
public Color getColor()
public Color get_color()
public void setColor(Color c)
public void set_color(Color c)
public void setPaintMode()
public void set_paint_mode()
public void setXORMode(Color c)
public void set_XOR_mode(Color c)
public Font getFont()
public Font get_font()
public void setFont(Font font)
public void set_font(Font font)
public FontMetrics getFontMetrics()
public FontMetrics get_font_metrics()
public FontMetrics getFontMetrics(Font f)
public FontMetrics get_font_metrics(Font f)
public Rectangle getClipRect()
public Rectangle get_clip_rect()
public void clipRect(int x,
int y,
int w,
int h)
public void clip_rect(int x,
int y,
int w,
int h)
public void copyArea(int x,
int y,
int w,
int h,
int dx,
int dy)
public void copy_area(int x,
int y,
int w,
int h,
int dx,
int dy)
public void drawLine(int x1,
int y1,
int x2,
int y2)
public void draw_line(int x1,
int y1,
int x2,
int y2)
public void fillRect(int x,
int y,
int w,
int h)
public void fill_rect(int x,
int y,
int w,
int h)
public void drawRect(int x,
int y,
int w,
int h)
public void draw_rect(int x,
int y,
int w,
int h)
public void clearRect(int x,
int y,
int w,
int h)
public void clear_rect(int x,
int y,
int w,
int h)
public void drawRoundRect(int x,
int y,
int w,
int h,
int arcw,
int arch)
public void draw_round_rect(int x,
int y,
int w,
int h,
int arcw,
int arch)
public void fillRoundRect(int x,
int y,
int w,
int h,
int arcw,
int arch)
public void fill_round_rect(int x,
int y,
int w,
int h,
int arcw,
int arch)
public void draw3DRect(int x,
int y,
int w,
int h,
boolean raised)
public void draw_3D_rect(int x,
int y,
int w,
int h,
boolean raised)
public void fill3DRect(int x,
int y,
int w,
int h,
boolean raised)
public void fill_3D_rect(int x,
int y,
int w,
int h,
boolean raised)
public void drawOval(int x,
int y,
int w,
int h)
public void draw_oval(int x,
int y,
int w,
int h)
public void fillOval(int x,
int y,
int w,
int h)
public void fill_oval(int x,
int y,
int w,
int h)
public void drawArc(int x,
int y,
int w,
int h,
int start_ang,
int arc_ang)
public void draw_arc(int x,
int y,
int w,
int h,
int start_ang,
int arc_ang)
public void fillArc(int x,
int y,
int w,
int h,
int start_ang,
int arc_ang)
public void fill_arc(int x,
int y,
int w,
int h,
int start_ang,
int arc_ang)
public void drawPolygon(int xp[],
int yp[],
int np)
public void draw_polygon(int xp[],
int yp[],
int np)
public void drawPolygon(Polygon p)
public void draw_polygon(Polygon p)
public void fillPolygon(int xp[],
int yp[],
int np)
public void fill_polygon(int xp[],
int yp[],
int np)
public void fillPolygon(Polygon p)
public void fill_polygon(Polygon p)
public void drawString(String str,
int x,
int y)
public void draw_string(String str,
int x,
int y)
public void drawChars(char data[],
int off,
int len,
int x,
int y)
public void draw_chars(char data[],
int off,
int len,
int x,
int y)
public void drawBytes(byte data[],
int off,
int len,
int x,
int y)
public void draw_bytes(byte data[],
int off,
int len,
int x,
int y)
public boolean drawImage(Image img,
int x,
int y,
ImageObserver observer)
public boolean draw_image(Image img,
int x,
int y,
ImageObserver observer)
public boolean drawImage(Image img,
int x,
int y,
int w,
int h,
ImageObserver obs)
public boolean draw_image(Image img,
int x,
int y,
int w,
int h,
ImageObserver obs)
public boolean drawImage(Image img,
int x,
int y,
Color bgcolor,
ImageObserver obs)
public boolean draw_image(Image img,
int x,
int y,
Color bgcolor,
ImageObserver obs)
public boolean drawImage(Image img,
int x,
int y,
int w,
int h,
Color bgcolor,
ImageObserver obs)
public boolean draw_image(Image img,
int x,
int y,
int w,
int h,
Color bgcolor,
ImageObserver obs)
public void dispose()
public void finalize()
public String toString()
All Packages Class Hierarchy This Package Previous Next Index