|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.bridge.SVGTextElementBridge.AbstractTextChildSVGContext
org.apache.batik.bridge.SVGTextElementBridge.AbstractTextChildBridgeUpdateHandler
org.apache.batik.bridge.SVGTextElementBridge.AbstractTextChildTextContent
Field Summary |
---|
Fields inherited from class org.apache.batik.bridge.SVGTextElementBridge.AbstractTextChildSVGContext |
---|
ctx, e, textBridge |
Constructor Summary | |
---|---|
SVGTextElementBridge.AbstractTextChildTextContent(BridgeContext ctx,
SVGTextElementBridge parent,
org.w3c.dom.Element e)
Initialize the AbstractTextChildBridgeUpdateHandler implementation. |
Method Summary | |
---|---|
int |
getCharNumAtPosition(float x,
float y)
|
float |
getComputedTextLength()
|
java.awt.geom.Point2D |
getEndPositionOfChar(int charnum)
Returns the current text position after rendering * the character in the user coordinate system for * rendering the glyph(s) that correspond to the * specified character. |
java.awt.geom.Rectangle2D |
getExtentOfChar(int charnum)
Returns a tightest rectangle which defines the * minimum and maximum X and Y values in the user * coordinate system for rendering the glyph(s) * that correspond to the specified character. |
int |
getNumberOfChars()
Returns the total number of characters to be * rendered within the current element. |
float |
getRotationOfChar(int charnum)
Returns the rotation value relative to the current * user coordinate system used to render the glyph(s) * corresponding to the specified character. |
java.awt.geom.Point2D |
getStartPositionOfChar(int charnum)
Returns the current text position before rendering * the character in the user coordinate system for * rendering the glyph(s) that correspond to the * specified character. |
float |
getSubStringLength(int charnum,
int nchars)
|
void |
selectSubString(int charnum,
int nchars)
Causes the specified substring to be selected * just as if the user selected the substring interactively. |
Methods inherited from class org.apache.batik.bridge.SVGTextElementBridge.AbstractTextChildBridgeUpdateHandler |
---|
dispose, handleCSSEngineEvent, handleDOMAttrModifiedEvent, handleDOMCharacterDataModified, handleDOMNodeInsertedEvent, handleDOMNodeRemovedEvent |
Methods inherited from class org.apache.batik.bridge.SVGTextElementBridge.AbstractTextChildSVGContext |
---|
getBBox, getCTM, getFontSize, getGlobalTransform, getPixelToMM, getPixelUnitToMillimeter, getScreenTransform, getViewportHeight, getViewportWidth, setScreenTransform |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SVGTextElementBridge.AbstractTextChildTextContent(BridgeContext ctx, SVGTextElementBridge parent, org.w3c.dom.Element e)
Method Detail |
public int getNumberOfChars()
SVGTextContent
getNumberOfChars
in interface SVGTextContent
public java.awt.geom.Rectangle2D getExtentOfChar(int charnum)
SVGTextContent
getExtentOfChar
in interface SVGTextContent
public java.awt.geom.Point2D getStartPositionOfChar(int charnum)
SVGTextContent
getStartPositionOfChar
in interface SVGTextContent
public java.awt.geom.Point2D getEndPositionOfChar(int charnum)
SVGTextContent
getEndPositionOfChar
in interface SVGTextContent
public void selectSubString(int charnum, int nchars)
SVGTextContent
selectSubString
in interface SVGTextContent
public float getRotationOfChar(int charnum)
SVGTextContent
getRotationOfChar
in interface SVGTextContent
public float getComputedTextLength()
getComputedTextLength
in interface SVGTextContent
public float getSubStringLength(int charnum, int nchars)
getSubStringLength
in interface SVGTextContent
public int getCharNumAtPosition(float x, float y)
getCharNumAtPosition
in interface SVGTextContent
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |