Class FlowTextPainter

    • Field Detail

      • singleton

        protected static TextPainter singleton
        A unique instance of this class.
      • WORD_LIMIT

        public static final java.text.AttributedCharacterIterator.Attribute WORD_LIMIT
      • FLOW_REGIONS

        public static final java.text.AttributedCharacterIterator.Attribute FLOW_REGIONS
      • FLOW_LINE_BREAK

        public static final java.text.AttributedCharacterIterator.Attribute FLOW_LINE_BREAK
      • LINE_HEIGHT

        public static final java.text.AttributedCharacterIterator.Attribute LINE_HEIGHT
      • GVT_FONT

        public static final java.text.AttributedCharacterIterator.Attribute GVT_FONT
      • szAtts

        protected static java.util.Set szAtts
    • Constructor Detail

      • FlowTextPainter

        public FlowTextPainter()
    • Method Detail

      • getInstance

        public static TextPainter getInstance()
        Returns a unique instance of this class.
      • textWrap

        public static boolean textWrap​(java.text.AttributedCharacterIterator[] acis,
                                       java.util.List chunkLayouts,
                                       java.util.List flowRects,
                                       java.awt.font.FontRenderContext frc)