Class GlyphRunBuilder

java.lang.Object
icyllis.arc3d.sketch.GlyphRunBuilder

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

    • GlyphRunBuilder

      public GlyphRunBuilder()
  • Method Details

    • setGlyphRunList

      public GlyphRunList setGlyphRunList(int @NonNull [] glyphs, int glyphOffset, float @NonNull [] 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()