2026-03-17 13:31:18 -07:00

31 lines
744 B
Java

package org.apache.batik.gvt;
import java.awt.Graphics2D;
import java.awt.Shape;
import java.awt.geom.Rectangle2D;
import org.apache.batik.gvt.text.Mark;
public interface TextPainter {
Rectangle2D getBounds2D(TextNode textNode);
Rectangle2D getGeometryBounds(TextNode textNode);
Shape getHighlightShape(Mark mark, Mark mark2);
Mark getMark(TextNode textNode, int i, boolean z);
Shape getOutline(TextNode textNode);
int[] getSelected(Mark mark, Mark mark2);
void paint(TextNode textNode, Graphics2D graphics2D);
Mark selectAt(double d, double d2, TextNode textNode);
Mark selectFirst(TextNode textNode);
Mark selectLast(TextNode textNode);
Mark selectTo(double d, double d2, Mark mark);
}