public static class MapFont.CharacterSprite
extends java.lang.Object
Constructor | Description |
---|---|
CharacterSprite(int width,
int height,
boolean[] data) |
Modifier and Type | Method | Description |
---|---|---|
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.
|
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()
Copyright © 2018. All rights reserved.