Package net.sourceforge.plantuml.sprite
Class SpriteColor
java.lang.Object
net.sourceforge.plantuml.sprite.SpriteColor
- All Implemented Interfaces:
Sprite
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasTextBlock
(HColor color, double scale, ColorMapper colorMapper) int
int
getWidth()
void
setColor
(int x, int y, int col) void
setGray
(int x, int y, int level) toUImage
(ColorMapper colorMapper, HColor backcolor, HColor forecolor) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SpriteColor
public SpriteColor(int width, int height)
-
-
Method Details
-
setGray
public void setGray(int x, int y, int level) -
setColor
public void setColor(int x, int y, int col) -
getHeight
public int getHeight() -
getWidth
public int getWidth() -
toUImage
-
asTextBlock
- Specified by:
asTextBlock
in interfaceSprite
-