1 19 20 package swingwt.awt.geom; 21 22 import swingwt.awt.Rectangle; 23 import swingwt.awt.Shape; 24 25 public final class GeneralPath implements Shape, Cloneable { 26 27 public static final int WIND_EVEN_ODD = PathIterator.WIND_EVEN_ODD; 28 public static final int WIND_NON_ZERO = PathIterator.WIND_NON_ZERO; 29 30 public GeneralPath() { 31 } 32 33 public GeneralPath(int rule) { 34 } 35 36 public GeneralPath(int rule, int initialCapacity) { 37 } 38 39 public GeneralPath(Shape s) { 40 } 41 42 public synchronized void moveTo(float x, float y) { 43 } 44 public synchronized void lineTo(float x, float y) { 45 } 46 public synchronized void quadTo(float x1, float y1, float x2, float y2) { 47 } 48 public synchronized void curveTo(float x1, float y1, 49 float x2, float y2, 50 float x3, float y3) { 51 } 52 public synchronized void closePath() { 53 } 54 public void append(Shape s, boolean connect) { 55 } 56 public void append(PathIterator pi, boolean connect) { 57 } 58 public synchronized int getWindingRule() { 59 return 0; 60 } 61 public void setWindingRule(int rule) { 62 } 63 public synchronized void reset() { 64 } 65 public void transform(AffineTransform at) { 66 } 67 public synchronized Shape createTransformedShape(AffineTransform at) { 68 return null; 69 } 70 public Rectangle getBounds() { 71 return null; 72 } 73 public synchronized Rectangle2D getBounds2D() { 74 return null; 75 } 76 public boolean contains(double x, double y) { 77 return false; 78 } 79 public boolean contains(Point2D p) { 80 return false; 82 } 83 public boolean contains(double x, double y, double w, double h) { 84 return false; 85 } 86 public boolean contains(Rectangle2D r) { 87 return contains(r.getX(), r.getY(), r.getWidth(), r.getHeight()); 88 } 89 public boolean intersects(double x, double y, double w, double h) { 90 return false; 91 } 92 public boolean intersects(Rectangle2D r) { 93 return intersects(r.getX(), r.getY(), r.getWidth(), r.getHeight()); 94 } 95 public PathIterator getPathIterator(AffineTransform at) { 96 return null; 97 } 98 public PathIterator getPathIterator(AffineTransform at, double flatness) { 99 return null; 100 } 101 public Object clone() { 102 return null; 103 } 104 } 105 106 | Popular Tags |