Package net.sourceforge.plantuml.sprite
Class SpriteColor
- java.lang.Object
-
- net.sourceforge.plantuml.sprite.SpriteColor
-
-
Constructor Summary
Constructors Constructor Description SpriteColor(int width, int height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextBlock
asTextBlock(HColor color, double scale)
int
getHeight()
int
getWidth()
void
setColor(int x, int y, int col)
void
setGrey(int x, int y, int level)
UImage
toUImage(ColorMapper colorMapper, HColor backcolor, HColor forecolor)
-
-
-
Method Detail
-
setGrey
public void setGrey(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
public UImage toUImage(ColorMapper colorMapper, HColor backcolor, HColor forecolor)
-
asTextBlock
public TextBlock asTextBlock(HColor color, double scale)
- Specified by:
asTextBlock
in interfaceSprite
-
-