com.jme3.font
クラス BitmapCharacterSet
java.lang.Object
com.jme3.font.BitmapCharacterSet
- すべての実装されたインタフェース:
- Savable
public class BitmapCharacterSet
- extends java.lang.Object
- implements Savable
クラス java.lang.Object から継承されたメソッド |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BitmapCharacterSet
public BitmapCharacterSet()
write
public void write(JmeExporter ex)
throws java.io.IOException
- 定義:
- インタフェース
Savable
内の write
- 例外:
java.io.IOException
read
public void read(JmeImporter im)
throws java.io.IOException
- 定義:
- インタフェース
Savable
内の read
- 例外:
java.io.IOException
getCharacter
public BitmapCharacter getCharacter(int index)
getCharacter
public BitmapCharacter getCharacter(int index,
int style)
addCharacter
public void addCharacter(int index,
BitmapCharacter ch)
getLineHeight
public int getLineHeight()
setLineHeight
public void setLineHeight(int lineHeight)
getBase
public int getBase()
setBase
public void setBase(int base)
getRenderedSize
public int getRenderedSize()
setRenderedSize
public void setRenderedSize(int renderedSize)
getWidth
public int getWidth()
setWidth
public void setWidth(int width)
getHeight
public int getHeight()
setHeight
public void setHeight(int height)
merge
public void merge(BitmapCharacterSet styleSet)
- Merge two fonts.
If two font have the same style, merge will fail.
- パラメータ:
styleSet
- Style must be assigned to this.
setStyle
public void setStyle(int style)