Package | Description |
---|---|
org.apache.batik.bridge |
Provides an API for mapping and maintaining consistency between
the SVG DOM tree and the GVT tree.
|
org.apache.batik.bridge.svg12 | |
org.apache.batik.extension.svg |
Modifier and Type | Class and Description |
---|---|
class |
FlowTextNode
One line Class Desc
Complete Class Desc
|
Modifier and Type | Method and Description |
---|---|
TextNode |
Mark.getTextNode() |
TextNode |
BasicTextPainter.BasicMark.getTextNode() |
protected TextNode |
SVGTextElementBridge.getTextNode() |
Modifier and Type | Method and Description |
---|---|
protected void |
SVGTextElementBridge.addChildPaintAttributes(java.text.AttributedString as,
Element element,
TextNode node,
TextPaintInfo parentPI,
BridgeContext ctx) |
protected void |
SVGTextElementBridge.addPaintAttributes(java.text.AttributedString as,
Element element,
TextNode node,
TextPaintInfo pi,
BridgeContext ctx)
Adds painting attributes to an AttributedString.
|
java.util.List |
StrokingTextPainter.computeTextRuns(TextNode node,
java.text.AttributedCharacterIterator aci,
java.text.AttributedCharacterIterator[] chunkACIs) |
protected java.util.List |
StrokingTextPainter.computeTextRuns(TextNode node,
java.text.AttributedCharacterIterator aci,
java.text.AttributedCharacterIterator[] chunkACIs,
int[][] chunkCharMaps) |
java.awt.geom.Rectangle2D |
StrokingTextPainter.getBounds2D(TextNode node)
Get a Rectangle2D in userspace coords which encloses the textnode
glyphs including stroke etc.
|
java.awt.geom.Rectangle2D |
TextPainter.getBounds2D(TextNode node)
Get a Rectangle2D in userspace coords which encloses the textnode
glyphs rendered bounds (includes stroke etc).
|
java.awt.geom.Rectangle2D |
BasicTextPainter.getGeometryBounds(TextNode node)
Get a Rectangle2D in userspace coords which encloses the textnode
glyphs just including the geometry info.
|
java.awt.geom.Rectangle2D |
TextPainter.getGeometryBounds(TextNode node)
Get a Rectangle2D in userspace coords which encloses the textnode
glyphs just including the geometry info.
|
Mark |
StrokingTextPainter.getMark(TextNode node,
int index,
boolean leadingEdge) |
Mark |
TextPainter.getMark(TextNode node,
int index,
boolean beforeGlyph)
Returns a mark for the char at index in node's
AttributedCharacterIterator.
|
java.awt.Shape |
StrokingTextPainter.getOutline(TextNode node)
Get a Shape in userspace coords which defines the textnode glyph outlines.
|
java.awt.Shape |
TextPainter.getOutline(TextNode node)
Get a Shape in userspace coords which defines the textnode
glyph outlines.
|
protected StrokingTextPainter.TextChunk |
StrokingTextPainter.getTextChunk(TextNode node,
java.text.AttributedCharacterIterator aci,
int[] charMap,
java.util.List textRuns,
StrokingTextPainter.TextChunk prevChunk) |
protected java.util.List |
SVGTextElementBridge.getTextRuns(TextNode node)
Retrieve the list of layout for the
text node.
|
java.util.List |
StrokingTextPainter.getTextRuns(TextNode node,
java.text.AttributedCharacterIterator aci) |
java.util.List |
FlowTextPainter.getTextRuns(TextNode node,
java.text.AttributedCharacterIterator aci) |
protected Mark |
StrokingTextPainter.hitTest(double x,
double y,
TextNode node) |
protected abstract Mark |
BasicTextPainter.hitTest(double x,
double y,
TextNode node)
Returns the mark for the specified parameters.
|
void |
StrokingTextPainter.paint(TextNode node,
java.awt.Graphics2D g2d)
Paints the specified text node using the specified Graphics2D.
|
void |
TextPainter.paint(TextNode node,
java.awt.Graphics2D g2d)
Paints the specified attributed character iterator using the specified
Graphics2D and context and font context.
|
Mark |
BasicTextPainter.selectAt(double x,
double y,
TextNode node)
Given an X, y coordinate, AttributedCharacterIterator,
return a Mark which encapsulates a "selection start" action.
|
Mark |
TextPainter.selectAt(double x,
double y,
TextNode node)
Initiates a text selection on a particular AttributedCharacterIterator,
using the text/font metrics employed by this TextPainter instance.
|
Mark |
StrokingTextPainter.selectFirst(TextNode node)
Selects the first glyph in the text node.
|
Mark |
TextPainter.selectFirst(TextNode node)
Selects the first glyph in the text node.
|
Mark |
StrokingTextPainter.selectLast(TextNode node)
Selects the last glyph in the text node.
|
Mark |
TextPainter.selectLast(TextNode node)
Selects the last glyph in the text node.
|
Constructor and Description |
---|
BasicMark(TextNode node,
TextHit hit)
Constructs a new Mark with the specified parameters.
|
Modifier and Type | Field and Description |
---|---|
protected TextNode |
SVGFlowRootElementBridge.textNode |
Modifier and Type | Method and Description |
---|---|
protected TextNode |
SVGFlowRootElementBridge.getTextNode() |
Modifier and Type | Class and Description |
---|---|
class |
FlowExtTextNode
One line Class Desc
Complete Class Desc
|
Modifier and Type | Method and Description |
---|---|
protected void |
BatikFlowTextElementBridge.addChildPaintAttributes(java.text.AttributedString as,
Element element,
TextNode node,
TextPaintInfo parentPI,
BridgeContext ctx) |
protected void |
BatikFlowTextElementBridge.addPaintAttributes(java.text.AttributedString as,
Element element,
TextNode node,
TextPaintInfo parentPI,
BridgeContext ctx)
Adds painting attributes to an AttributedString.
|
java.util.List |
FlowExtTextPainter.getTextRuns(TextNode node,
java.text.AttributedCharacterIterator aci) |
Copyright © 2022 Apache Software Foundation. All Rights Reserved.