Class Index | File Index

Classes


Class R.text.ContextText


Extends R.text.AbstractTextRenderer.
A text renderer which draws text using the context's native text rendering mechansim. This may not work on all platforms, in all browsers. If not, see R.text.BitmapText as an alternative.
Defined in: contexttext.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Fields borrowed from class R.text.AbstractTextRenderer:
ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT
Fields borrowed from class R.components.Base:
TYPE_COLLIDER, TYPE_INPUT, TYPE_LOGIC, TYPE_RENDERING, TYPE_TRANSFORM
Method Summary
Method Attributes Method Name and Description
 
Get the class name of this object
 
Return true if the text renderer is native to the context.
 
Release the text renderer back into the pool for reuse
Methods borrowed from class R.text.AbstractTextRenderer:
getColor, getLineSpacing, getSize, getText, getTextAlignment, getTextFont, getTextStyle, getTextWeight, setColor, setLineSpacing, setSize, setText, setTextAlignment, setTextFont, setTextStyle, setTextWeight
Methods borrowed from class R.components.Base:
execute, getGameObject, getHostObject, getPriority, getType, getTypeString, setGameObject, setHostObject, setPriority
Methods borrowed from class R.engine.BaseObject:
addEvent, addEvents, destroy, getElement, jQ, removeEvent, setElement, triggerEvent, update
Methods borrowed from class R.engine.PooledObject:
clearObjectDataModel, getId, getName, getObjectDataModel, getProperties, isDestroyed, setName, setObjectDataModel, toString, toXML
Class Detail
R.text.ContextText()
Method Detail
{String} getClassName()
Get the class name of this object
Returns:
{String} The string "R.text.ContextText"

{Boolean} isNative()
Return true if the text renderer is native to the context.
Returns:
{Boolean}

release()
Release the text renderer back into the pool for reuse

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Mar 18 2013 16:09:21 GMT-0400 (EDT)