com.jme.widget.font
Class WidgetAbstractFont
java.lang.Object
com.jme.widget.font.WidgetAbstractFont
- All Implemented Interfaces:
- WidgetFont
- Direct Known Subclasses:
- WidgetLWJGLFont
- public abstract class WidgetAbstractFont
- extends java.lang.Object
- implements WidgetFont
- Author:
- Gregg Patton
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
header
protected WidgetFontHeader header
texture
protected Texture texture
WidgetAbstractFont
public WidgetAbstractFont(java.lang.String name)
create
public void create(java.lang.String filename)
- Specified by:
create in interface WidgetFont
create
public void create(java.net.URL filename)
getStringSize
public Vector2f getStringSize(java.lang.String text)
- Specified by:
getStringSize in interface WidgetFont
getTexture
public Texture getTexture()
- Specified by:
getTexture in interface WidgetFont
getName
public java.lang.String getName()
- Specified by:
getName in interface WidgetFont
renderString
public abstract void renderString(java.lang.String text,
float x,
float y,
float scalar,
ColorRGBA topColor,
ColorRGBA bottomColor)
- Specified by:
renderString in interface WidgetFont
toString
public java.lang.String toString()