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