Class BidiTextRun

java.lang.Object
com.openhtmltopdf.bidi.BidiTextRun

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

    • startIndex

      private final int startIndex
    • length

      private final int length
    • direction

      private final byte direction
  • Constructor Details

    • BidiTextRun

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

    • getStart

      public int getStart()
    • getLength

      public int getLength()
    • getDirection

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