Package icyllis.arc3d.core

# Class GlyphRunBuilder

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

@Internal public class GlyphRunBuilder extends Object
Builds and provides a reusable `GlyphRunList`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GlyphRunBuilder()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `GlyphRunList`
  `blobToGlyphRunList(TextBlob blob, float originX, float originY)`
  Initializes and returns a read-only view.
  `void`
  `clear()`
  `GlyphRunList`
  `setGlyphRunList(int[] glyphs, int glyphOffset, float[] positions, int positionOffset, int glyphCount, Font font, Paint paint, float originX, float originY)`
  Initializes and returns a read-only view.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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()