public class

Text

extends RectangularShape
java.lang.Object
   ↳ org.anddev.andengine.entity.Entity
     ↳ org.anddev.andengine.entity.shape.Shape
       ↳ org.anddev.andengine.entity.shape.RectangularShape
         ↳ org.anddev.andengine.entity.text.Text
Known Direct Subclasses

Class Overview

(c) 2010 Nicolas Gramlich (c) 2011 Zynga Inc.

Summary

[Expand]
Inherited Constants
From class org.anddev.andengine.entity.shape.Shape
Fields
protected final int mCharactersMaximum
protected final int mVertexCount
[Expand]
Inherited Fields
From class org.anddev.andengine.entity.shape.RectangularShape
From class org.anddev.andengine.entity.shape.Shape
From class org.anddev.andengine.entity.Entity
Public Constructors
Text(float pX, float pY, Font pFont, String pText)
Text(float pX, float pY, Font pFont, String pText, HorizontalAlign pHorizontalAlign)
Protected Constructors
Text(float pX, float pY, Font pFont, String pText, HorizontalAlign pHorizontalAlign, int pCharactersMaximum)
Public Methods
int getCharactersMaximum()
String getText()
TextVertexBuffer getVertexBuffer()
Protected Methods
void drawVertices(GL10 pGL, Camera pCamera)
void finalize()
void onApplyTransformations(GL10 pGL)
void onInitDraw(GL10 pGL)
void onUpdateVertexBuffer()
void updateText(String pText)
[Expand]
Inherited Methods
From class org.anddev.andengine.entity.shape.RectangularShape
From class org.anddev.andengine.entity.shape.Shape
From class org.anddev.andengine.entity.Entity
From class java.lang.Object
From interface org.anddev.andengine.engine.handler.IUpdateHandler
From interface org.anddev.andengine.entity.IEntity
From interface org.anddev.andengine.entity.scene.Scene.ITouchArea
From interface org.anddev.andengine.entity.shape.IShape
From interface org.anddev.andengine.opengl.IDrawable

Fields

protected final int mCharactersMaximum

protected final int mVertexCount

Public Constructors

public Text (float pX, float pY, Font pFont, String pText)

public Text (float pX, float pY, Font pFont, String pText, HorizontalAlign pHorizontalAlign)

Protected Constructors

protected Text (float pX, float pY, Font pFont, String pText, HorizontalAlign pHorizontalAlign, int pCharactersMaximum)

Public Methods

public int getCharactersMaximum ()

public String getText ()

public TextVertexBuffer getVertexBuffer ()

Protected Methods

protected void drawVertices (GL10 pGL, Camera pCamera)

protected void finalize ()

Throws
Throwable

protected void onApplyTransformations (GL10 pGL)

protected void onInitDraw (GL10 pGL)

protected void onUpdateVertexBuffer ()

protected void updateText (String pText)