Package org.apache.batik.bridge
Interface TextLayoutFactory
-
- All Known Implementing Classes:
ConcreteTextLayoutFactory,FlowExtTextLayoutFactory,FlowTextLayoutFactory
public interface TextLayoutFactoryInterface implemented by factory instances that can return TextSpanLayouts appropriate to AttributedCharacterIterator instances.- Version:
- $Id: TextLayoutFactory.java 1733416 2016-03-03 07:07:13Z gadams $
- See Also:
TextSpanLayout
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TextSpanLayoutcreateTextLayout(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.
-
-
-
Method Detail
-
createTextLayout
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.
-
-