|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectcom.jme3.niftygui.RenderFontJme
public class RenderFontJme
| コンストラクタの概要 | |
|---|---|
RenderFontJme(java.lang.String name,
NiftyJmeDisplay display)
Initialize the font. |
|
| メソッドの概要 | |
|---|---|
void |
dispose()
|
java.lang.Integer |
getCharacterAdvance(char currentCharacter,
char nextCharacter,
float size)
Return the width of the given character including kerning information. |
int |
getHeight()
get font height. |
BitmapText |
getText()
|
int |
getWidth(java.lang.String str)
get font width of the given string. |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public RenderFontJme(java.lang.String name,
NiftyJmeDisplay display)
name - font filename| メソッドの詳細 |
|---|
public BitmapText getText()
public int getHeight()
de.lessvoid.nifty.spi.render.RenderFont 内の getHeightpublic int getWidth(java.lang.String str)
de.lessvoid.nifty.spi.render.RenderFont 内の getWidthtext - text
public java.lang.Integer getCharacterAdvance(char currentCharacter,
char nextCharacter,
float size)
de.lessvoid.nifty.spi.render.RenderFont 内の getCharacterAdvancecurrentCharacter - current characternextCharacter - next charactersize - font size
public void dispose()
de.lessvoid.nifty.spi.render.RenderFont 内の dispose
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||