|
UC Berkeley Group for User Interface Research Updated November 17, 2000 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Graphics | +--java.awt.Graphics2D | +--edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality | +--edu.berkeley.guir.lib.satin.graphics.GraphicsMediumQuality | +--edu.berkeley.guir.lib.satin.graphics.GraphicsLowQuality | +--edu.berkeley.guir.lib.satin.graphics.GraphicsLowestQuality
Render lowest quality images.
This software is distributed under the Berkeley Software License.
Revisions: - SATIN-v1.0-1.0.0, Aug 19 1999, JH Created class - SATIN-v2.1-1.0.0, Aug 11 2000, JH Touched for SATIN release
Fields inherited from class edu.berkeley.guir.lib.satin.graphics.GraphicsMediumQuality |
g, hints |
Constructor Summary | |
GraphicsLowestQuality()
|
Method Summary | |
void |
draw(Shape s)
Does polygon simplification on Polygon2D . |
void |
draw3DRect(int x,
int y,
int width,
int height,
boolean raised)
|
void |
drawBytes(byte[] data,
int offset,
int length,
int x,
int y)
|
void |
drawChars(char[] data,
int offset,
int length,
int x,
int y)
|
void |
drawGlyphVector(GlyphVector gv,
float x,
float y)
|
void |
drawImage(BufferedImage img,
BufferedImageOp op,
int x,
int y)
Draw outline of image. |
boolean |
drawImage(Image img,
AffineTransform xform,
ImageObserver obs)
Draw outline of image. |
boolean |
drawImage(Image img,
int x,
int y,
Color bgcolor,
ImageObserver observer)
Draw outline of image. |
boolean |
drawImage(Image img,
int x,
int y,
ImageObserver observer)
Only draws bounds, no fill. |
boolean |
drawImage(Image img,
int x,
int y,
int width,
int height,
Color bgcolor,
ImageObserver observer)
Draw outline of image. |
boolean |
drawImage(Image img,
int x,
int y,
int width,
int height,
ImageObserver observer)
Draw outline of image. |
boolean |
drawImage(Image img,
int dx1,
int dy1,
int dx2,
int dy2,
int sx1,
int sy1,
int sx2,
int sy2,
Color bgcolor,
ImageObserver observer)
Draw outline of image. |
boolean |
drawImage(Image img,
int dx1,
int dy1,
int dx2,
int dy2,
int sx1,
int sy1,
int sx2,
int sy2,
ImageObserver observer)
Draw outline of image. |
void |
drawRenderableImage(RenderableImage img,
AffineTransform xform)
|
void |
drawRenderedImage(RenderedImage img,
AffineTransform xform)
|
void |
drawString(AttributedCharacterIterator iterator,
float x,
float y)
|
void |
drawString(AttributedCharacterIterator iterator,
int x,
int y)
|
void |
drawString(String s,
float x,
float y)
|
void |
drawString(String str,
int x,
int y)
|
void |
fill(Shape s)
Draw outline of shape, no fill. |
void |
fill3DRect(int x,
int y,
int width,
int height,
boolean raised)
Draw outline of image. |
void |
fillArc(int x,
int y,
int width,
int height,
int startAngle,
int arcAngle)
Only draws bounds, no fill. |
void |
fillOval(int x,
int y,
int width,
int height)
Only draws bounds, no fill. |
void |
fillPolygon(int[] xPoints,
int[] yPoints,
int nPoints)
Only draws bounding box, no polygon, no fill. |
void |
fillPolygon(Polygon p)
Only draws bounding box, no polygon, no fill. |
void |
fillRect(int x,
int y,
int width,
int height)
Only draws bounds, no fill. |
void |
fillRoundRect(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight)
Only draws bounds, no fill. |
Methods inherited from class edu.berkeley.guir.lib.satin.graphics.GraphicsLowQuality |
drawPolygon, drawPolygon, drawPolyline |
Methods inherited from class edu.berkeley.guir.lib.satin.graphics.GraphicsMediumQuality |
addRenderingHints, clearRect, clip, clipRect, copyArea, create, create, dispose, drawArc, drawLine, drawOval, drawRect, drawRoundRect, finalize, getBackground, getClip, getClipBounds, getClipBounds, getClipRect, getColor, getComposite, getDeviceConfiguration, getFont, getFontMetrics, getFontMetrics, getFontRenderContext, getGraphics, getHints, getPaint, getRenderingHint, getRenderingHints, getStroke, getTransform, hit, hitClip, rotate, rotate, scale, setBackground, setClip, setClip, setColor, setComposite, setFont, setGraphics, setPaint, setPaintMode, setRenderingHint, setRenderingHints, setStroke, setTransform, setXORMode, shear, transform, translate, translate |
Methods inherited from class java.awt.Graphics |
toString |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public GraphicsLowestQuality()
Method Detail |
public void fillRect(int x, int y, int width, int height)
fillRect
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public void fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)
fillRoundRect
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public void fillOval(int x, int y, int width, int height)
fillOval
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle)
fillArc
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public void fillPolygon(int[] xPoints, int[] yPoints, int nPoints)
fillPolygon
in class GraphicsLowQuality
public void fillPolygon(Polygon p)
fillPolygon
in class GraphicsLowQuality
public void drawString(String str, int x, int y)
drawString
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public void drawChars(char[] data, int offset, int length, int x, int y)
drawChars
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public void drawBytes(byte[] data, int offset, int length, int x, int y)
drawBytes
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public boolean drawImage(Image img, int x, int y, ImageObserver observer)
drawImage
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public boolean drawImage(Image img, int x, int y, int width, int height, ImageObserver observer)
drawImage
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public boolean drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer)
drawImage
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public boolean drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer)
drawImage
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer)
drawImage
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer)
drawImage
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public void draw(Shape s)
GraphicsLowQuality
Polygon2D
.
Otherwise just normal.draw
in class GraphicsLowQuality
public void draw3DRect(int x, int y, int width, int height, boolean raised)
draw3DRect
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public void drawGlyphVector(GlyphVector gv, float x, float y)
drawGlyphVector
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public void fill3DRect(int x, int y, int width, int height, boolean raised)
fill3DRect
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public boolean drawImage(Image img, AffineTransform xform, ImageObserver obs)
drawImage
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public void drawImage(BufferedImage img, BufferedImageOp op, int x, int y)
drawImage
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public void drawRenderedImage(RenderedImage img, AffineTransform xform)
drawRenderedImage
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public void drawRenderableImage(RenderableImage img, AffineTransform xform)
drawRenderableImage
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public void drawString(String s, float x, float y)
drawString
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public void drawString(AttributedCharacterIterator iterator, int x, int y)
drawString
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public void drawString(AttributedCharacterIterator iterator, float x, float y)
drawString
in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality
public void fill(Shape s)
fill
in class GraphicsLowQuality
|
Copyright Information | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |