1 18 package org.apache.batik.dom.svg; 19 20 import java.awt.geom.Rectangle2D ; 21 import java.awt.geom.Point2D ; 22 23 30 public interface SVGTextContent 31 { 32 40 public int getNumberOfChars(); 41 42 59 public Rectangle2D getExtentOfChar(int charnum ); 60 61 79 public Point2D getStartPositionOfChar(int charnum); 80 81 100 public Point2D getEndPositionOfChar(int charnum); 101 102 127 public float getRotationOfChar(int charnum); 128 141 public void selectSubString(int charnum, int nchars); 142 143 public float getComputedTextLength(); 144 145 public float getSubStringLength(int charnum, int nchars); 146 147 public int getCharNumAtPosition(float x, float y); 148 } 149 | Popular Tags |