Package icyllis.arc3d.core
Class GlyphRun
java.lang.Object
icyllis.arc3d.core.GlyphRun
GlyphRun provides raw buffer views and represents a text run.
-
Field Summary
Modifier and TypeFieldDescriptionint
int
int[]
Raw pointer view.int
float[]
Raw pointer view. -
Constructor Summary
-
Method Summary
-
Field Details
-
mGlyphs
public int[] mGlyphsRaw pointer view. -
mGlyphOffset
public int mGlyphOffset -
mPositions
public float[] mPositionsRaw pointer view. -
mPositionOffset
public int mPositionOffset -
mGlyphCount
public int mGlyphCount
-
-
Constructor Details
-
GlyphRun
public GlyphRun()
-
-
Method Details
-
set
public void set(@Nonnull int[] glyphs, int glyphOffset, @Nonnull float[] positions, int positionOffset, int glyphCount, @Nonnull Font font) -
font
Read-only view. -
clear
public void clear()Release heavy buffers.
-