Class GlyphRunBuilder

java.lang.Object
icyllis.arc3d.core.GlyphRunBuilder

@Internal public class GlyphRunBuilder extends Object
Builds and provides a reusable GlyphRunList.
  • Constructor Details

    • GlyphRunBuilder

      public GlyphRunBuilder()
  • Method Details

    • setGlyphRunList

      public GlyphRunList setGlyphRunList(@Nonnull int[] glyphs, int glyphOffset, @Nonnull float[] positions, int positionOffset, int glyphCount, @Nonnull Font font, @Nonnull Paint paint, float originX, float originY)
      Initializes and returns a read-only view.
    • blobToGlyphRunList

      public GlyphRunList blobToGlyphRunList(@Nonnull TextBlob blob, float originX, float originY)
      Initializes and returns a read-only view.
    • clear

      public void clear()