public class SVGTextContentSupport extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SVGTextContentSupport.SVGTextPoint |
Constructor and Description |
---|
SVGTextContentSupport() |
Modifier and Type | Method and Description |
---|---|
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 . |
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
Copyright ? 2015 Apache Software Foundation. All Rights Reserved.