Package icyllis.arc3d.core
Class TextBlob.Builder.RunBuffer
java.lang.Object
icyllis.arc3d.core.TextBlob.Builder.RunBuffer
- Enclosing class:
TextBlob.Builder
RunBuffer supplies storage for glyphs and positions within a run.
A run is a sequence of glyphs sharing font metrics and positioning. Each run may position its glyphs by providing (x,y) pairs, one per glyph.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddGlyph
(int glyph) addGlyphs
(int[] glyphs, int offset, int count) addPosition
(float x, float y) addPositions
(float[] positions, int offset, int count)
-
Constructor Details
-
RunBuffer
public RunBuffer()
-
-
Method Details
-
addGlyph
-
addPosition
-
addGlyphs
-
addPositions
-