Package icyllis.arc3d.core
Class GlyphRunBuilder
java.lang.Object
icyllis.arc3d.core.GlyphRunBuilder
Builds and provides a reusable
GlyphRunList
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionblobToGlyphRunList
(TextBlob blob, float originX, float originY) Initializes and returns a read-only view.void
clear()
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.
-
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
Initializes and returns a read-only view. -
clear
public void clear()
-