public class TextBucket extends TextureBucket
TextureBucket.RendererInlist.List<T extends Inlist<?>>| Modifier and Type | Field and Description |
|---|---|
TextItem |
labels |
protected static int |
LBIT_MASK |
protected Canvas |
mCanvas |
protected static int |
mFontPadX |
fixed, INDICES_PER_SPRITE, pool, TEXTURE_HEIGHT, TEXTURE_WIDTH, texturesBITMAP, EXTRUSION, HAIRLINE, indiceItems, indiceOffset, LINE, MESH, numIndices, numVertices, POLYGON, SDF, SYMBOL, TEXLINE, type, vertexItems, vertexOffset| Constructor and Description |
|---|
TextBucket() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addItem(TextItem it,
float width,
float height,
float x,
float y) |
void |
addText(TextItem item) |
void |
clear()
Clear all resources.
|
void |
clearLabels() |
TextItem |
getLabels() |
void |
prepare()
Final preparation of content before compilation
for stuff that should not be done on render-thread.
|
void |
setLabels(TextItem labels) |
compile, getTextures, rendercompileIndicesItems, compileVertexItems, getIndiceOffset, getVertexOffset, setLevel, setVertexOffsetappendItem, appendList, get, last, next, prependRelative, push, remove, sizeprotected static final int LBIT_MASK
protected static int mFontPadX
public TextItem labels
protected final Canvas mCanvas
public TextItem getLabels()
public void setLabels(TextItem labels)
public void addText(TextItem item)
public void prepare()
RenderBucketprepare in class RenderBucketprotected void addItem(TextItem it, float width, float height, float x, float y)
public void clear()
RenderBucketclear in class TextureBucketpublic void clearLabels()