Class SpriteColor
- java.lang.Object
-
- net.sourceforge.plantuml.klimt.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 TextBlockasTextBlock(HColor color, double scale)intgetHeight()intgetWidth()voidsetColor(int x, int y, int col)voidsetGray(int x, int y, int level)UImagetoUImage(ColorMapper colorMapper, HColor backcolor, HColor forecolor)
-
-
-
Method Detail
-
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
public UImage toUImage(ColorMapper colorMapper, HColor backcolor, HColor forecolor)
-
asTextBlock
public TextBlock asTextBlock(HColor color, double scale)
- Specified by:
asTextBlockin interfaceSprite
-
-