|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.scene.Spatial
com.jme3.scene.Node
com.jme3.font.BitmapText
public class BitmapText
入れ子のクラスの概要 |
---|
クラス com.jme3.scene.Spatial から継承された入れ子のクラス/インタフェース |
---|
Spatial.CullHint |
フィールドの概要 |
---|
クラス com.jme3.scene.Spatial から継承されたフィールド |
---|
queueDistance |
コンストラクタの概要 | |
---|---|
BitmapText(BitmapFont font)
|
|
BitmapText(BitmapFont font,
boolean rightToLeft)
|
|
BitmapText(BitmapFont font,
boolean rightToLeft,
boolean arrayBased)
|
メソッドの概要 | |
---|---|
BitmapText |
clone()
|
BitmapFont.Align |
getAlignment()
|
ColorRGBA |
getColor()
|
BitmapFont |
getFont()
|
float |
getHeight()
|
int |
getLineCount()
|
float |
getLineHeight()
|
float |
getLineWidth()
|
LineWrapMode |
getLineWrapMode()
|
java.lang.String |
getText()
|
BitmapFont.VAlign |
getVerticalAlignment()
|
void |
render(RenderManager rm)
|
void |
setAlignment(BitmapFont.Align align)
Set horizontal alignment. |
void |
setBox(Rectangle rect)
Define area where bitmaptext will be rendered |
void |
setColor(ColorRGBA color)
changes text color. all substring colors are deleted. |
void |
setColor(int start,
int end,
ColorRGBA color)
Set the color of substring. |
void |
setColor(java.lang.String regexp,
ColorRGBA color)
Set the color of substring. |
void |
setEllipsisChar(char c)
for setLineWrapType(LineWrapType.NoWrap), set the last character when the text exceeds the bound. |
void |
setLineWrapMode(LineWrapMode wrap)
Available only when bounding is set. |
void |
setSize(float size)
Changes text size |
void |
setStyle(int start,
int end,
int style)
Set the font style of substring. |
void |
setStyle(java.lang.String regexp,
int style)
Set the font style of substring. |
void |
setTabPosition(float... tabs)
|
void |
setTabWidth(float width)
used for the tabs over the last tab position. |
void |
setText(java.lang.CharSequence text)
|
void |
setText(java.lang.String text)
|
void |
setVerticalAlignment(BitmapFont.VAlign align)
Set vertical alignment. |
void |
updateLogicalState(float tpf)
updateLogicalState calls the update() method
for all controls attached to this Spatial. |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
---|
public BitmapText(BitmapFont font)
public BitmapText(BitmapFont font, boolean rightToLeft)
public BitmapText(BitmapFont font, boolean rightToLeft, boolean arrayBased)
メソッドの詳細 |
---|
public BitmapText clone()
Spatial
内の clone
Mesh.cloneForAnim()
public BitmapFont getFont()
public void setSize(float size)
size
- text sizepublic void setText(java.lang.CharSequence text)
text
- charsequence to change text topublic void setText(java.lang.String text)
text
- String to change text topublic java.lang.String getText()
public ColorRGBA getColor()
public void setColor(ColorRGBA color)
color
- new color of textpublic void setBox(Rectangle rect)
rect
- position and size box where text is renderedpublic float getLineHeight()
public float getHeight()
public float getLineWidth()
public int getLineCount()
public LineWrapMode getLineWrapMode()
public void setAlignment(BitmapFont.Align align)
align
- public void setVerticalAlignment(BitmapFont.VAlign align)
align
- public BitmapFont.Align getAlignment()
public BitmapFont.VAlign getVerticalAlignment()
public void setStyle(int start, int end, int style)
start
- start index to set style. inclusive.end
- end index to set style. EXCLUSIVE.style
- public void setStyle(java.lang.String regexp, int style)
regexp
- regular expressionstyle
- public void setColor(int start, int end, ColorRGBA color)
start
- start index to set style. inclusive.end
- end index to set style. EXCLUSIVE.color
- public void setColor(java.lang.String regexp, ColorRGBA color)
regexp
- regular expressioncolor
- public void setTabPosition(float... tabs)
tabs
- tab positionspublic void setTabWidth(float width)
width
- tab sizepublic void setEllipsisChar(char c)
c
- public void setLineWrapMode(LineWrapMode wrap)
setBox()
method call is needed in advance.
true when
wrap
- NoWrap : Letters over the text bound is not shown. the last character is set to '...'(0x2026)
Character: Character is split at the end of the line.
Word : Word is split at the end of the line.public void updateLogicalState(float tpf)
Spatial
の記述:updateLogicalState
calls the update()
method
for all controls attached to this Spatial.
Node
内の updateLogicalState
tpf
- Time per frame.Spatial.addControl(com.jme3.scene.control.Control)
public void render(RenderManager rm)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |