Class BidiTextRun


  • public class BidiTextRun
    extends java.lang.Object
    Simple class to hold a visual ordering text run.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private byte direction  
      private int length  
      private int startIndex  
    • Constructor Summary

      Constructors 
      Constructor Description
      BidiTextRun​(int startIndex, int length, byte direction)  
    • Field Detail

      • startIndex

        private final int startIndex
      • length

        private final int length
      • direction

        private final byte direction
    • Constructor Detail

      • BidiTextRun

        public BidiTextRun​(int startIndex,
                           int length,
                           byte direction)
    • Method Detail

      • getStart

        public int getStart()
      • getLength

        public int getLength()
      • getDirection

        public byte getDirection()
        Returns:
        either LTR or RTL.