sources
Class Path

java.lang.Object
  extended bysources.Path

public class Path
extends java.lang.Object

A Path containing of straight lines that does not close


Constructor Summary
Path()
          Creates new Path
 
Method Summary
 boolean intersects(java.awt.Rectangle rect)
           
 void lineTo(float x, float y)
           
 void moveTo(float x1, float y1)
           
 void paint(java.awt.Graphics2D g)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Path

public Path()
Creates new Path

Method Detail

intersects

public boolean intersects(java.awt.Rectangle rect)

moveTo

public void moveTo(float x1,
                   float y1)

lineTo

public void lineTo(float x,
                   float y)

paint

public void paint(java.awt.Graphics2D g)