Constructor and Description |
---|
BitmapCharacterSet() |
Modifier and Type | Method and Description |
---|---|
void |
addCharacter(int index,
BitmapCharacter ch) |
int |
getBase() |
BitmapCharacter |
getCharacter(int index) |
BitmapCharacter |
getCharacter(int index,
int style) |
int |
getHeight() |
int |
getLineHeight() |
int |
getRenderedSize() |
int |
getWidth() |
void |
merge(BitmapCharacterSet styleSet)
Merge two fonts.
|
void |
read(JmeImporter im) |
void |
setBase(int base) |
void |
setHeight(int height) |
void |
setLineHeight(int lineHeight) |
void |
setRenderedSize(int renderedSize) |
void |
setStyle(int style) |
void |
setWidth(int width) |
void |
write(JmeExporter ex) |
protected void |
writeCharset(OutputCapsule oc,
int style,
IntMap<BitmapCharacter> charset) |
public void write(JmeExporter ex) throws java.io.IOException
protected void writeCharset(OutputCapsule oc, int style, IntMap<BitmapCharacter> charset) throws java.io.IOException
java.io.IOException
public void read(JmeImporter im) throws java.io.IOException
public BitmapCharacter getCharacter(int index)
public BitmapCharacter getCharacter(int index, int style)
public void addCharacter(int index, BitmapCharacter ch)
public int getLineHeight()
public void setLineHeight(int lineHeight)
public int getBase()
public void setBase(int base)
public int getRenderedSize()
public void setRenderedSize(int renderedSize)
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
public void merge(BitmapCharacterSet styleSet)
styleSet
- Style must be assigned to this.
author: Yonghoonpublic void setStyle(int style)