|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.anim.dom.SVGTextContentSupport
public class SVGTextContentSupport
This class provides support for the SVGTextContentElement interface.
| Nested Class Summary | |
|---|---|
static class |
SVGTextContentSupport.SVGTextPoint
|
| Constructor Summary | |
|---|---|
SVGTextContentSupport()
|
|
| Method Summary | |
|---|---|
static int |
getCharNumAtPosition(Element elt,
float x,
float y)
To implement SVGTextContentElement.getCharNumAtPosition(SVGPoint point). |
static float |
getComputedTextLength(Element elt)
To implement SVGTextContentElement.selectSubString(int charnum, int nchars). |
protected static Point2D |
getEndPos(SVGOMElement svgelt,
SVGTextContent context,
int charnum)
|
static org.w3c.dom.svg.SVGPoint |
getEndPositionOfChar(Element elt,
int charnum)
To implement SVGTextContentElement.getEndPositionOfChar(int charnum). |
protected static Rectangle2D |
getExtent(SVGOMElement svgelt,
SVGTextContent context,
int charnum)
|
static org.w3c.dom.svg.SVGRect |
getExtentOfChar(Element elt,
int charnum)
To implement SVGTextContentElement.getExtentOfChar(int charnum). |
static int |
getNumberOfChars(Element elt)
To implement SVGTextContentElement.getNumberOfChars(). |
static float |
getRotationOfChar(Element elt,
int charnum)
To implement SVGTextContentElement.getRotationOfChar(int charnum). |
protected static Point2D |
getStartPos(SVGOMElement svgelt,
SVGTextContent context,
int charnum)
|
static org.w3c.dom.svg.SVGPoint |
getStartPositionOfChar(Element elt,
int charnum)
To implement SVGTextContentElement.getStartPositionOfChar(int charnum). |
static float |
getSubStringLength(Element elt,
int charnum,
int nchars)
To implement SVGTextContentElement.selectSubString(int charnum, int nchars). |
static void |
selectSubString(Element elt,
int charnum,
int nchars)
To implement SVGTextContentElement.selectSubString(int charnum, int nchars). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SVGTextContentSupport()
| Method Detail |
|---|
public static int getNumberOfChars(Element elt)
SVGTextContentElement.getNumberOfChars().
public static org.w3c.dom.svg.SVGRect getExtentOfChar(Element elt,
int charnum)
SVGTextContentElement.getExtentOfChar(int charnum).
protected static Rectangle2D getExtent(SVGOMElement svgelt,
SVGTextContent context,
int charnum)
public static org.w3c.dom.svg.SVGPoint getStartPositionOfChar(Element elt,
int charnum)
throws DOMException
SVGTextContentElement.getStartPositionOfChar(int charnum).
DOMException
protected static Point2D getStartPos(SVGOMElement svgelt,
SVGTextContent context,
int charnum)
public static org.w3c.dom.svg.SVGPoint getEndPositionOfChar(Element elt,
int charnum)
throws DOMException
SVGTextContentElement.getEndPositionOfChar(int charnum).
DOMException
protected static Point2D getEndPos(SVGOMElement svgelt,
SVGTextContent context,
int charnum)
public static void selectSubString(Element elt,
int charnum,
int nchars)
SVGTextContentElement.selectSubString(int charnum, int nchars).
public static float getRotationOfChar(Element elt,
int charnum)
SVGTextContentElement.getRotationOfChar(int charnum).
public static float getComputedTextLength(Element elt)
SVGTextContentElement.selectSubString(int charnum, int nchars).
public static float getSubStringLength(Element elt,
int charnum,
int nchars)
SVGTextContentElement.selectSubString(int charnum, int nchars).
public static int getCharNumAtPosition(Element elt,
float x,
float y)
throws DOMException
SVGTextContentElement.getCharNumAtPosition(SVGPoint point).
DOMException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||