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