Class GlyphRunList

java.lang.Object
icyllis.arc3d.core.GlyphRunList

@Internal public class GlyphRunList extends Object
GlyphRunList provides a buffer view to GlyphRuns and additional drawing info.
  • Field Details

    • mGlyphRuns

      public GlyphRun[] mGlyphRuns
      Raw pointer view.
    • mGlyphRunCount

      public int mGlyphRunCount
    • mOriginalTextBlob

      public TextBlob mOriginalTextBlob
      Raw pointer, nullable.
    • mOriginX

      public float mOriginX
    • mOriginY

      public float mOriginY
  • Constructor Details

    • GlyphRunList

      public GlyphRunList()
  • Method Details

    • set

      public void set(GlyphRun[] glyphRuns, int glyphRunCount, @Nullable TextBlob blob, Rect2fc bounds, float originX, float originY)
    • getSourceBounds

      @Nonnull public Rect2fc getSourceBounds()
    • getSourceBoundsWithOrigin

      public void getSourceBoundsWithOrigin(@Nonnull Rect2f bounds)
    • maxGlyphRunSize

      public int maxGlyphRunSize()
    • clear

      public void clear()
      Release heavy buffers.