UC Berkeley Group for User Interface Research
Updated November 17, 2000

edu.berkeley.guir.lib.satin.graphics
Class GraphicsLowQuality

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
Direct Known Subclasses:
GraphicsLowestQuality

public class GraphicsLowQuality
extends GraphicsMediumQuality

Render low 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
 

Since:
JDK 1.2
Version:
SATIN-v2.1-1.0.0, Aug 11 2000
Author:
Jason Hong ( jasonh@cs.berkeley.edu )

Fields inherited from class edu.berkeley.guir.lib.satin.graphics.GraphicsMediumQuality
g, hints
 
Constructor Summary
GraphicsLowQuality()
           
 
Method Summary
 void draw(Shape s)
          Does polygon simplification on Polygon2D.
 void drawPolygon(int[] xPoints, int[] yPoints, int nPoints)
           
 void drawPolygon(Polygon p)
           
 void drawPolyline(int[] xPoints, int[] yPoints, int nPoints)
           
 void fill(Shape s)
          Does polygon simplification on Polygon2D.
 void fillPolygon(int[] xPoints, int[] yPoints, int nPoints)
           
 void fillPolygon(Polygon p)
           
 
Methods inherited from class edu.berkeley.guir.lib.satin.graphics.GraphicsMediumQuality
addRenderingHints, clearRect, clip, clipRect, copyArea, create, create, dispose, draw3DRect, drawArc, drawBytes, drawChars, drawGlyphVector, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawLine, drawOval, drawRect, drawRenderableImage, drawRenderedImage, drawRoundRect, drawString, drawString, drawString, drawString, fill3DRect, fillArc, fillOval, fillRect, fillRoundRect, 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

GraphicsLowQuality

public GraphicsLowQuality()
Method Detail

draw

public void draw(Shape s)
Does polygon simplification on Polygon2D. Otherwise just normal.
Overrides:
draw in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality

fill

public void fill(Shape s)
Does polygon simplification on Polygon2D. Otherwise just normal.
Overrides:
fill in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality

drawPolyline

public void drawPolyline(int[] xPoints,
                         int[] yPoints,
                         int nPoints)
Overrides:
drawPolyline in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality

drawPolygon

public void drawPolygon(int[] xPoints,
                        int[] yPoints,
                        int nPoints)
Overrides:
drawPolygon in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality

drawPolygon

public void drawPolygon(Polygon p)
Overrides:
drawPolygon in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality

fillPolygon

public void fillPolygon(int[] xPoints,
                        int[] yPoints,
                        int nPoints)
Overrides:
fillPolygon in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality

fillPolygon

public void fillPolygon(Polygon p)
Overrides:
fillPolygon in class edu.berkeley.guir.lib.satin.graphics.GraphicsXQuality

Copyright Information