Class GlyphRun

java.lang.Object
icyllis.arc3d.core.GlyphRun

@Internal public class GlyphRun extends Object
GlyphRun provides raw buffer views and represents a text run.
  • Field Details

    • mGlyphs

      public int[] mGlyphs
      Raw pointer view.
    • mGlyphOffset

      public int mGlyphOffset
    • mPositions

      public float[] mPositions
      Raw pointer view.
    • mPositionOffset

      public int mPositionOffset
    • mGlyphCount

      public int mGlyphCount
  • Constructor Details

    • GlyphRun

      public GlyphRun()
  • Method Details

    • set

      public void set(@Nonnull int[] glyphs, int glyphOffset, @Nonnull float[] positions, int positionOffset, int glyphCount, @Nonnull Font font)
    • font

      public Font font()
      Read-only view.
    • clear

      public void clear()
      Release heavy buffers.