Package icyllis.arc3d.core

# 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 Summary

  Fields
  Modifier and Type
  Field
  Description
  `int`
  `mGlyphRunCount`
  `GlyphRun[]`
  `mGlyphRuns`
  Raw pointer view.
  `TextBlob`
  `mOriginalTextBlob`
  Raw pointer, nullable.
  `float`
  `mOriginX`
  `float`
  `mOriginY`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GlyphRunList()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `clear()`
  Release heavy buffers.
  `Rect2fc`
  `getSourceBounds()`
  `void`
  `getSourceBoundsWithOrigin(Rect2f bounds)`
  `int`
  `maxGlyphRunSize()`
  `void`
  `set(GlyphRun[] glyphRuns, int glyphRunCount, TextBlob blob, Rect2fc bounds, float originX, float originY)`

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

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

- ## 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.