public class FlowExtTextLayoutFactory extends Object implements TextLayoutFactory
TextSpanLayout
Constructor and Description |
---|
FlowExtTextLayoutFactory() |
Modifier and Type | Method and Description |
---|---|
TextSpanLayout |
createTextLayout(AttributedCharacterIterator aci,
int[] charMap,
Point2D offset,
FontRenderContext frc)
Returns an instance of TextSpanLayout suitable for rendering the
AttributedCharacterIterator.
|
public TextSpanLayout createTextLayout(AttributedCharacterIterator aci, int[] charMap, Point2D offset, FontRenderContext frc)
createTextLayout
in interface TextLayoutFactory
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–2023 Apache Software Foundation. All rights reserved.