Constructor and Description |
---|
SpriteMonochrome(int width,
int height,
int grayLevel) |
Modifier and Type | Method and Description |
---|---|
TextBlock |
asTextBlock(HColor color,
double scale) |
void |
exportSprite1(java.io.OutputStream fos) |
int |
getGray(int x,
int y) |
int |
getHeight() |
int |
getWidth() |
boolean |
isSame(SpriteMonochrome other) |
boolean |
isSameKind(SpriteMonochrome other) |
void |
setGray(int x,
int y,
int level) |
UImage |
toUImage(ColorMapper colorMapper,
HColor backcolor,
HColor 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 setGray(int x, int y, int level)
public int getGray(int x, int y)
public int getHeight()
public int getWidth()
public UImage toUImage(ColorMapper colorMapper, HColor backcolor, HColor color)
public TextBlock asTextBlock(HColor color, double scale)
asTextBlock
in interface Sprite
public void exportSprite1(java.io.OutputStream fos) throws java.io.IOException
java.io.IOException