org.apache.batik.extension.svg
Class FlowExtTextLayoutFactory
java.lang.Object
org.apache.batik.extension.svg.FlowExtTextLayoutFactory
- All Implemented Interfaces:
- TextLayoutFactory
public class FlowExtTextLayoutFactory
- extends Object
- implements TextLayoutFactory
Factory instance that returns TextSpanLayouts appropriate to
FlowRoot instances.
- Version:
- $Id: FlowExtTextLayoutFactory.java 1733416 2016-03-03 07:07:13Z gadams $
- Author:
- Thomas DeWeese
- See Also:
TextSpanLayout
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlowExtTextLayoutFactory
public FlowExtTextLayoutFactory()
createTextLayout
public TextSpanLayout createTextLayout(AttributedCharacterIterator aci,
int[] charMap,
Point2D offset,
FontRenderContext frc)
- Returns an instance of TextSpanLayout suitable for rendering the
AttributedCharacterIterator.
- Specified by:
createTextLayout in interface TextLayoutFactory
- 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 font render context to use when creating the text layout.
Copyright © 2000–2017 Apache Software Foundation. All rights reserved.