org.apache.batik.gvt.text
Interface TextLayoutFactory
- All Known Implementing Classes:
- ConcreteTextLayoutFactory
- public interface TextLayoutFactory
Interface implemented by factory instances that can return
TextSpanLayouts appropriate to AttributedCharacterIterator
instances.
- Version:
- $Id: TextLayoutFactory.java,v 1.6 2003/08/08 11:39:18 vhardy Exp $
- Author:
TextSpanLayout
|
Method Summary |
TextSpanLayout |
createTextLayout(java.text.AttributedCharacterIterator aci,
int[] charMap,
java.awt.geom.Point2D offset,
java.awt.font.FontRenderContext frc)
Returns an instance of TextSpanLayout suitable for rendering the
AttributedCharacterIterator. |
createTextLayout
public TextSpanLayout createTextLayout(java.text.AttributedCharacterIterator aci,
int[] charMap,
java.awt.geom.Point2D offset,
java.awt.font.FontRenderContext frc)
- Returns an instance of TextSpanLayout suitable for rendering the
AttributedCharacterIterator.
- Parameters:
aci - the character iterator to be laid outcharMap - Indicates how chars in aci map to original
text char array.offset - The offset position for the text layout.frc - the rendering context for the fonts used.
<oXygen/>
XML Editor
uses Batik from the Apache Foundation
to provide support for previewing SVG documents.
See the SVG Editor section
for more info.