Constructor and Description |
---|
SpriteColor(int width,
int height) |
Modifier and Type | Method and Description |
---|---|
TextBlock |
asTextBlock(HtmlColor color,
double scale) |
int |
getHeight() |
int |
getWidth() |
void |
setColor(int x,
int y,
int col) |
void |
setGrey(int x,
int y,
int level) |
UImage |
toUImage(ColorMapper colorMapper,
HtmlColor backcolor,
HtmlColor forecolor) |
public void setGrey(int x, int y, int level)
public void setColor(int x, int y, int col)
public int getHeight()
public int getWidth()
public UImage toUImage(ColorMapper colorMapper, HtmlColor backcolor, HtmlColor forecolor)
public TextBlock asTextBlock(HtmlColor color, double scale)
asTextBlock
in interface Sprite