Class SVGTextContentSupport
java.lang.Object
org.apache.batik.anim.dom.SVGTextContentSupport
This class provides support for the SVGTextContentElement interface.
- Version:
- $Id$
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetCharNumAtPosition(Element elt, float x, float y) To implementSVGTextContentElement.getCharNumAtPosition(SVGPoint point).static floatTo implementSVGTextContentElement.selectSubString(int charnum, int nchars).protected static Point2DgetEndPos(SVGOMElement svgelt, SVGTextContent context, int charnum) static org.w3c.dom.svg.SVGPointgetEndPositionOfChar(Element elt, int charnum) To implementSVGTextContentElement.getEndPositionOfChar(int charnum).protected static Rectangle2DgetExtent(SVGOMElement svgelt, SVGTextContent context, int charnum) static org.w3c.dom.svg.SVGRectgetExtentOfChar(Element elt, int charnum) To implementSVGTextContentElement.getExtentOfChar(int charnum).static intgetNumberOfChars(Element elt) To implementSVGTextContentElement.getNumberOfChars().static floatgetRotationOfChar(Element elt, int charnum) To implementSVGTextContentElement.getRotationOfChar(int charnum).protected static Point2DgetStartPos(SVGOMElement svgelt, SVGTextContent context, int charnum) static org.w3c.dom.svg.SVGPointgetStartPositionOfChar(Element elt, int charnum) To implementSVGTextContentElement.getStartPositionOfChar(int charnum).static floatgetSubStringLength(Element elt, int charnum, int nchars) To implementSVGTextContentElement.selectSubString(int charnum, int nchars).static voidselectSubString(Element elt, int charnum, int nchars) To implementSVGTextContentElement.selectSubString(int charnum, int nchars).
-
Constructor Details
-
SVGTextContentSupport
public SVGTextContentSupport()
-
-
Method Details
-
getNumberOfChars
To implementSVGTextContentElement.getNumberOfChars(). -
getExtentOfChar
To implementSVGTextContentElement.getExtentOfChar(int charnum). -
getExtent
-
getStartPositionOfChar
public static org.w3c.dom.svg.SVGPoint getStartPositionOfChar(Element elt, int charnum) throws DOMException To implementSVGTextContentElement.getStartPositionOfChar(int charnum).- Throws:
DOMException
-
getStartPos
-
getEndPositionOfChar
public static org.w3c.dom.svg.SVGPoint getEndPositionOfChar(Element elt, int charnum) throws DOMException To implementSVGTextContentElement.getEndPositionOfChar(int charnum).- Throws:
DOMException
-
getEndPos
-
selectSubString
To implementSVGTextContentElement.selectSubString(int charnum, int nchars). -
getRotationOfChar
To implementSVGTextContentElement.getRotationOfChar(int charnum). -
getComputedTextLength
To implementSVGTextContentElement.selectSubString(int charnum, int nchars). -
getSubStringLength
To implementSVGTextContentElement.selectSubString(int charnum, int nchars). -
getCharNumAtPosition
To implementSVGTextContentElement.getCharNumAtPosition(SVGPoint point).- Throws:
DOMException
-