Class SpriteMonochrome
java.lang.Object
net.sourceforge.plantuml.klimt.sprite.SpriteMonochrome
- All Implemented Interfaces:
Sprite
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasTextBlock
(HColor color, double scale) void
int
getGray
(int x, int y) int
int
getWidth()
boolean
isSame
(SpriteMonochrome other) boolean
isSameKind
(SpriteMonochrome other) void
setGray
(int x, int y, int level) toUImage
(ColorMapper colorMapper, HColor backcolor, HColor color) xor
(SpriteMonochrome other)
-
Constructor Details
-
SpriteMonochrome
public SpriteMonochrome(int width, int height, int grayLevel)
-
-
Method Details
-
isSameKind
-
isSame
-
xor
-
xSymetric
-
ySymetric
-
setGray
public void setGray(int x, int y, int level) -
getGray
public int getGray(int x, int y) -
getHeight
public int getHeight() -
getWidth
public int getWidth() -
toUImage
-
asTextBlock
- Specified by:
asTextBlock
in interfaceSprite
-
exportSprite1
- Throws:
IOException
-