Class ScriptRun

java.lang.Object
com.mta.tehreer.unicode.ScriptRun

public class ScriptRun extends Object
A ScriptRun object represents a sequence of characters which have the same script.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    The index after the last character of this run in source text.
    int
    The index to the first character of this run in source text.
    int
    The resolved script of this run.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a script run object.
    ScriptRun(int charStart, int charEnd, int script)
    Constructs a script run object.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • charStart

      public int charStart
      The index to the first character of this run in source text.
    • charEnd

      public int charEnd
      The index after the last character of this run in source text.
    • script

      public int script
      The resolved script of this run.
  • Constructor Details

    • ScriptRun

      public ScriptRun(int charStart, int charEnd, int script)
      Constructs a script run object.
      Parameters:
      charStart - The index to the first character of run.
      charEnd - The index after the last character of run.
      script - The resolved script of run.
    • ScriptRun

      public ScriptRun()
      Constructs a script run object.
  • Method Details