public final class ConsoleData extends Object
| Modifier and Type | Field and Description |
|---|---|
Color[] |
background |
int |
columns |
Font[] |
font |
Color[] |
foreground |
int |
rows |
char[] |
text |
| Modifier and Type | Method and Description |
|---|---|
void |
fillArea(char c,
Color fg,
Color bg,
Font f,
int column,
int row,
int width,
int height) |
Color |
getBackgroundAt(int column,
int row) |
char |
getCharAt(int column,
int row) |
Font |
getFontAt(int column,
int row) |
Color |
getForegroundAt(int column,
int row) |
void |
setDataAt(int column,
int row,
char c,
Color fg,
Color bg,
Font f)
Sets a single character position
|
public int rows
public int columns
public Color[] background
public Color[] foreground
public Font[] font
public char[] text
public void setDataAt(int column,
int row,
char c,
Color fg,
Color bg,
Font f)
public char getCharAt(int column,
int row)
public Color getForegroundAt(int column, int row)
public Color getBackgroundAt(int column, int row)
public Font getFontAt(int column, int row)
Copyright © 2013. All Rights Reserved.