1 18 package org.apache.batik.gvt; 19 20 import java.awt.Graphics2D ; 21 import java.awt.Shape ; 22 import java.awt.geom.Rectangle2D ; 23 import java.awt.geom.Point2D ; 24 25 31 public interface ShapePainter { 32 33 38 void paint(Graphics2D g2d); 39 40 43 Shape getPaintedArea(); 44 45 48 Rectangle2D getPaintedBounds2D(); 49 50 53 boolean inPaintedArea(Point2D pt); 54 55 59 Shape getSensitiveArea(); 60 61 65 Rectangle2D getSensitiveBounds2D(); 66 67 70 boolean inSensitiveArea(Point2D pt); 71 72 78 void setShape(Shape shape); 79 80 85 Shape getShape(); 86 } 87 | Popular Tags |