27 lines
508 B
Java
27 lines
508 B
Java
package org.apache.batik.gvt;
|
|
|
|
import java.awt.Graphics2D;
|
|
import java.awt.Shape;
|
|
import java.awt.geom.Point2D;
|
|
import java.awt.geom.Rectangle2D;
|
|
|
|
public interface ShapePainter {
|
|
Shape getPaintedArea();
|
|
|
|
Rectangle2D getPaintedBounds2D();
|
|
|
|
Shape getSensitiveArea();
|
|
|
|
Rectangle2D getSensitiveBounds2D();
|
|
|
|
Shape getShape();
|
|
|
|
boolean inPaintedArea(Point2D point2D);
|
|
|
|
boolean inSensitiveArea(Point2D point2D);
|
|
|
|
void paint(Graphics2D graphics2D);
|
|
|
|
void setShape(Shape shape);
|
|
}
|