public class SVGTextContentSupport
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SVGTextContentSupport.SVGTextPoint |
Constructor and Description |
---|
SVGTextContentSupport() |
Modifier and Type | Method and Description |
---|---|
static int |
getCharNumAtPosition(org.w3c.dom.Element elt,
float x,
float y)
To implement
org.w3c.dom.svg.SVGTextContentElement#getCharNumAtPosition(SVGPoint point) . |
static float |
getComputedTextLength(org.w3c.dom.Element elt)
To implement
org.w3c.dom.svg.SVGTextContentElement#selectSubString(int charnum, int nchars) . |
protected static java.awt.geom.Point2D |
getEndPos(SVGOMElement svgelt,
SVGTextContent context,
int charnum) |
static SVGPoint |
getEndPositionOfChar(org.w3c.dom.Element elt,
int charnum)
To implement
org.w3c.dom.svg.SVGTextContentElement#getEndPositionOfChar(int charnum) . |
protected static java.awt.geom.Rectangle2D |
getExtent(SVGOMElement svgelt,
SVGTextContent context,
int charnum) |
static SVGRect |
getExtentOfChar(org.w3c.dom.Element elt,
int charnum)
To implement
org.w3c.dom.svg.SVGTextContentElement#getExtentOfChar(int charnum) . |
static int |
getNumberOfChars(org.w3c.dom.Element elt)
To implement
org.w3c.dom.svg.SVGTextContentElement#getNumberOfChars() . |
static float |
getRotationOfChar(org.w3c.dom.Element elt,
int charnum)
To implement
org.w3c.dom.svg.SVGTextContentElement#getRotationOfChar(int charnum) . |
protected static java.awt.geom.Point2D |
getStartPos(SVGOMElement svgelt,
SVGTextContent context,
int charnum) |
static SVGPoint |
getStartPositionOfChar(org.w3c.dom.Element elt,
int charnum)
To implement
org.w3c.dom.svg.SVGTextContentElement#getStartPositionOfChar(int charnum) . |
static float |
getSubStringLength(org.w3c.dom.Element elt,
int charnum,
int nchars)
To implement
org.w3c.dom.svg.SVGTextContentElement#selectSubString(int charnum, int nchars) . |
static void |
selectSubString(org.w3c.dom.Element elt,
int charnum,
int nchars)
To implement
org.w3c.dom.svg.SVGTextContentElement#selectSubString(int charnum, int nchars) . |
public static int getNumberOfChars(org.w3c.dom.Element elt)
org.w3c.dom.svg.SVGTextContentElement#getNumberOfChars()
.public static SVGRect getExtentOfChar(org.w3c.dom.Element elt, int charnum)
org.w3c.dom.svg.SVGTextContentElement#getExtentOfChar(int charnum)
.protected static java.awt.geom.Rectangle2D getExtent(SVGOMElement svgelt, SVGTextContent context, int charnum)
public static SVGPoint getStartPositionOfChar(org.w3c.dom.Element elt, int charnum) throws org.w3c.dom.DOMException
org.w3c.dom.svg.SVGTextContentElement#getStartPositionOfChar(int charnum)
.org.w3c.dom.DOMException
protected static java.awt.geom.Point2D getStartPos(SVGOMElement svgelt, SVGTextContent context, int charnum)
public static SVGPoint getEndPositionOfChar(org.w3c.dom.Element elt, int charnum) throws org.w3c.dom.DOMException
org.w3c.dom.svg.SVGTextContentElement#getEndPositionOfChar(int charnum)
.org.w3c.dom.DOMException
protected static java.awt.geom.Point2D getEndPos(SVGOMElement svgelt, SVGTextContent context, int charnum)
public static void selectSubString(org.w3c.dom.Element elt, int charnum, int nchars)
org.w3c.dom.svg.SVGTextContentElement#selectSubString(int charnum, int nchars)
.public static float getRotationOfChar(org.w3c.dom.Element elt, int charnum)
org.w3c.dom.svg.SVGTextContentElement#getRotationOfChar(int charnum)
.public static float getComputedTextLength(org.w3c.dom.Element elt)
org.w3c.dom.svg.SVGTextContentElement#selectSubString(int charnum, int nchars)
.public static float getSubStringLength(org.w3c.dom.Element elt, int charnum, int nchars)
org.w3c.dom.svg.SVGTextContentElement#selectSubString(int charnum, int nchars)
.public static int getCharNumAtPosition(org.w3c.dom.Element elt, float x, float y) throws org.w3c.dom.DOMException
org.w3c.dom.svg.SVGTextContentElement#getCharNumAtPosition(SVGPoint point)
.org.w3c.dom.DOMException
Copyright ? 2015 Apache Software Foundation. All Rights Reserved.