Package net.sourceforge.plantuml.sprite
Class SpriteMonochrome
java.lang.Object
net.sourceforge.plantuml.sprite.SpriteMonochrome
- All Implemented Interfaces:
Sprite
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasTextBlock
(HColor color, double scale) void
int
getGrey
(int x, int y) int
int
getWidth()
boolean
isSame
(SpriteMonochrome other) boolean
isSameKind
(SpriteMonochrome other) void
setGrey
(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
-
setGrey
public void setGrey(int x, int y, int level) -
getGrey
public int getGrey(int x, int y) -
getHeight
public int getHeight() -
getWidth
public int getWidth() -
toUImage
-
asTextBlock
- Specified by:
asTextBlock
in interfaceSprite
-
exportSprite1
- Throws:
IOException
-