|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.dom.svg.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 svg.SVGTextContentElement . |
static float |
getComputedTextLength(Element elt)
To implement svg.SVGTextContentElement . |
protected static Point2D |
getEndPos(SVGOMElement svgelt,
SVGTextContent context,
int charnum)
|
static SVGPoint |
getEndPositionOfChar(Element elt,
int charnum)
To implement svg.SVGTextContentElement . |
protected static Rectangle2D |
getExtent(SVGOMElement svgelt,
SVGTextContent context,
int charnum)
|
static SVGRect |
getExtentOfChar(Element elt,
int charnum)
To implement svg.SVGTextContentElement . |
static int |
getNumberOfChars(Element elt)
To implement svg.SVGTextContentElement . |
static float |
getRotationOfChar(Element elt,
int charnum)
To implement svg.SVGTextContentElement . |
protected static Point2D |
getStartPos(SVGOMElement svgelt,
SVGTextContent context,
int charnum)
|
static SVGPoint |
getStartPositionOfChar(Element elt,
int charnum)
To implement svg.SVGTextContentElement . |
static float |
getSubStringLength(Element elt,
int charnum,
int nchars)
To implement svg.SVGTextContentElement . |
static void |
selectSubString(Element elt,
int charnum,
int nchars)
To implement svg.SVGTextContentElement . |
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)
svg.SVGTextContentElement
.
public static SVGRect getExtentOfChar(Element elt, int charnum)
svg.SVGTextContentElement
.
protected static Rectangle2D getExtent(SVGOMElement svgelt, SVGTextContent context, int charnum)
public static SVGPoint getStartPositionOfChar(Element elt, int charnum) throws DOMException
svg.SVGTextContentElement
.
DOMException
protected static Point2D getStartPos(SVGOMElement svgelt, SVGTextContent context, int charnum)
public static SVGPoint getEndPositionOfChar(Element elt, int charnum) throws DOMException
svg.SVGTextContentElement
.
DOMException
protected static Point2D getEndPos(SVGOMElement svgelt, SVGTextContent context, int charnum)
public static void selectSubString(Element elt, int charnum, int nchars)
svg.SVGTextContentElement
.
public static float getRotationOfChar(Element elt, int charnum)
svg.SVGTextContentElement
.
public static float getComputedTextLength(Element elt)
svg.SVGTextContentElement
.
public static float getSubStringLength(Element elt, int charnum, int nchars)
svg.SVGTextContentElement
.
public static int getCharNumAtPosition(Element elt, float x, float y) throws DOMException
svg.SVGTextContentElement
.
DOMException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |