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.extension.svg | |
org.apache.batik.gvt.font | |
org.apache.batik.gvt.text |
Modifier and Type | Method and Description |
---|---|
protected TextPaintInfo |
SVGTextElementBridge.getParentTextPaintInfo(Element child)
Retrieve in the AttributeString the closest parent
of the node 'child' and extract the text decorations
of the parent.
|
protected TextPaintInfo |
SVGTextElementBridge.getTextPaintInfo(Element element,
GraphicsNode node,
TextPaintInfo parentTPI,
BridgeContext ctx)
Constructs a TextDecoration object for the specified element.
|
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.
|
Glyph |
SVGGlyphElementBridge.createGlyph(BridgeContext ctx,
Element glyphElement,
Element textElement,
int glyphCode,
float fontSize,
GVTFontFace fontFace,
TextPaintInfo tpi)
Constructs a new Glyph that represents the specified <glyph> element
at the requested size.
|
protected TextPaintInfo |
SVGTextElementBridge.getTextPaintInfo(Element element,
GraphicsNode node,
TextPaintInfo parentTPI,
BridgeContext ctx)
Constructs a TextDecoration object for the specified element.
|
void |
SVGTextElementBridge.setBaseTextPaintInfo(TextPaintInfo pi,
Element element,
GraphicsNode node,
BridgeContext ctx) |
void |
SVGTextElementBridge.setDecorationTextPaintInfo(TextPaintInfo pi,
Element element) |
void |
TextNode.swapTextPaintInfo(TextPaintInfo newInfo,
TextPaintInfo oldInfo) |
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.
|
Constructor and Description |
---|
Glyph(java.lang.String unicode,
java.util.List names,
java.lang.String orientation,
java.lang.String arabicForm,
java.lang.String lang,
java.awt.geom.Point2D horizOrigin,
java.awt.geom.Point2D vertOrigin,
float horizAdvX,
float vertAdvY,
int glyphCode,
TextPaintInfo tpi,
java.awt.Shape dShape,
GraphicsNode glyphChildrenNode)
Constructs a Glyph with the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
TextPaintInfo.equivilent(TextPaintInfo tpi1,
TextPaintInfo tpi2) |
void |
TextPaintInfo.set(TextPaintInfo pi) |
Constructor and Description |
---|
TextPaintInfo(TextPaintInfo pi) |
Copyright © 2022 Apache Software Foundation. All Rights Reserved.