Text
org.andengine.entity.text

Class Text

org.andengine.entity.text.Text

All Implemented Interfaces:


public class Text
extends RectangularShape

The Text class is used to display on-screen text.


Constructor Summary

public Text(final float pX, final float pY, final IFont pFont, final CharSequence pText, final VertexBufferObjectManager pVertexBufferObjectManager)

  • Constructor which creates an Text positioned at screen coordinates (pX,pY). The text will be rendered with the font defined by pFont, displaying the string specified by pText.

Constructor Detail

Text

public Text()

Constructor which creates an Text positioned at screen coordinates (pX,pY). The text will be rendered with the font defined by pFont, displaying the string specified by pText. Use the VertexBufferObjectManager of the Activity on whose screen the Text will be rendered.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License