Constructor and Description |
---|
SpriteMonochrome(int width,
int height,
int grayLevel) |
Modifier and Type | Method and Description |
---|---|
TextBlock |
asTextBlock(HtmlColor color,
double scale) |
void |
exportSprite1(java.io.OutputStream fos) |
int |
getGrey(int x,
int y) |
int |
getHeight() |
int |
getWidth() |
boolean |
isSame(SpriteMonochrome other) |
boolean |
isSameKind(SpriteMonochrome other) |
void |
setGrey(int x,
int y,
int level) |
UImage |
toUImage(ColorMapper colorMapper,
HtmlColor backcolor,
HtmlColor color) |
SpriteMonochrome |
xor(SpriteMonochrome other) |
SpriteMonochrome |
xSymetric() |
SpriteMonochrome |
ySymetric() |
public boolean isSameKind(SpriteMonochrome other)
public boolean isSame(SpriteMonochrome other)
public SpriteMonochrome xor(SpriteMonochrome other)
public SpriteMonochrome xSymetric()
public SpriteMonochrome ySymetric()
public void setGrey(int x, int y, int level)
public int getGrey(int x, int y)
public int getHeight()
public int getWidth()
public UImage toUImage(ColorMapper colorMapper, HtmlColor backcolor, HtmlColor color)
public TextBlock asTextBlock(HtmlColor color, double scale)
asTextBlock
in interface Sprite
public void exportSprite1(java.io.OutputStream fos) throws java.io.IOException
java.io.IOException