Interface TextLayoutFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
    • 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 out
        charMap - 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.