Class SpriteColor

java.lang.Object
net.sourceforge.plantuml.sprite.SpriteColor
All Implemented Interfaces:
Sprite

public class SpriteColor extends java.lang.Object implements Sprite
  • Constructor Summary

    Constructors
    Constructor
    Description
    SpriteColor(int width, int height)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    asTextBlock(HColor color, double scale, ColorMapper colorMapper)
     
    int
     
    int
     
    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

      public UImage toUImage(ColorMapper colorMapper, HColor backcolor, HColor forecolor)
    • asTextBlock

      public TextBlock asTextBlock(HColor color, double scale, ColorMapper colorMapper)
      Specified by:
      asTextBlock in interface Sprite