bookExamples.ch26Graphics
Class PlotPoint2D

java.lang.Object
  extended by bookExamples.ch26Graphics.PlotPoint2D
All Implemented Interfaces:
Drawable

public class PlotPoint2D
extends java.lang.Object
implements Drawable


Method Summary
 void draw(java.awt.Graphics g)
           
 java.awt.geom.GeneralPath getGeneralPath(double eps)
           
 void plotLine(java.awt.geom.Point2D p1, java.awt.geom.Point2D p2, java.awt.Graphics g)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getGeneralPath

public java.awt.geom.GeneralPath getGeneralPath(double eps)

plotLine

public void plotLine(java.awt.geom.Point2D p1,
                     java.awt.geom.Point2D p2,
                     java.awt.Graphics g)

draw

public void draw(java.awt.Graphics g)
Specified by:
draw in interface Drawable