|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bukkit.map.MapFont.CharacterSprite
public static class MapFont.CharacterSprite
Represents the graphics for a single character in a MapFont.
| Constructor Summary | |
|---|---|
MapFont.CharacterSprite(int width,
int height,
boolean[] data)
|
|
| Method Summary | |
|---|---|
boolean |
get(int row,
int col)
Get the value of a pixel of the character. |
int |
getHeight()
Get the height of the character sprite. |
int |
getWidth()
Get the width of the character sprite. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapFont.CharacterSprite(int width,
int height,
boolean[] data)
| Method Detail |
|---|
public boolean get(int row,
int col)
row - The row, in the range [0,8).col - The column, in the range [0,8).
public int getWidth()
public int getHeight()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||