sources
Class Path
java.lang.Object
sources.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 |
Path
public Path()
- Creates new Path
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)