Property | Type | Description | |
---|---|---|---|
position | Vector2 | ||
rotation | float |
Method | Description | |
---|---|---|
TextRun ( BitmapFont font ) : System | ||
compile ( ) : void |
compiles the text into raw verts/texture coordinates. This method must be called anytime text or any other properties are changed.
|
|
render ( |
||
setFont ( BitmapFont font ) : |
||
setHorizontalAlign ( HorizontalAlign hAlign ) : |
||
setText ( string text ) : |
||
setVerticalAlign ( VerticalAlign vAlign ) : |
Method | Description | |
---|---|---|
updateCentering ( ) : void | ||
updateSize ( ) : void |
public setHorizontalAlign ( HorizontalAlign hAlign ) : |
||
hAlign | HorizontalAlign | |
return |
public setVerticalAlign ( VerticalAlign vAlign ) : |
||
vAlign | VerticalAlign | |
return |