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, ColorMapper colorMapper) void
exportSprite1
(java.io.OutputStream fos) 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) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
public void exportSprite1(java.io.OutputStream fos) throws java.io.IOException - Throws:
java.io.IOException
-