Class MeasuredText.Run

java.lang.Object
icyllis.modernui.graphics.text.MeasuredText.Run
Direct Known Subclasses:
MeasuredText.ReplacementRun, MeasuredText.StyleRun
Enclosing class:
MeasuredText

public abstract static class MeasuredText.Run extends Object
A logical run, subrange of bidi run.
  • Field Details

    • mStart

      public final int mStart
    • mEnd

      public final int mEnd
  • Method Details

    • measure

      public abstract void measure(@NonNull char[] text, boolean computeLayout)
    • getExtent

      public abstract void getExtent(@NonNull char[] text, int start, int end, @NonNull FontMetricsInt extent)
    • getAdvance

      public abstract float getAdvance(char[] text, int pos)
    • getAdvance

      public abstract float getAdvance(char[] text, int start, int end)
    • isRtl

      public abstract boolean isRtl()
    • canBreak

      public abstract boolean canBreak()
    • getLocale

      @NonNull public abstract Locale getLocale()
    • getLineBreakStyle

      public abstract int getLineBreakStyle()
    • getLineBreakWordStyle

      public abstract int getLineBreakWordStyle()
    • getMemoryUsage

      public abstract int getMemoryUsage()