Package soot.tagkit

Class ColorTag

  • All Implemented Interfaces:
    Tag

    public class ColorTag
    extends Object
    implements Tag
    • Constructor Detail

      • ColorTag

        public ColorTag​(Color c)
      • ColorTag

        public ColorTag​(int r,
                        int g,
                        int b)
      • ColorTag

        public ColorTag​(int r,
                        int g,
                        int b,
                        boolean fg)
      • ColorTag

        public ColorTag​(int r,
                        int g,
                        int b,
                        String type)
      • ColorTag

        public ColorTag​(int r,
                        int g,
                        int b,
                        boolean fg,
                        String type)
      • ColorTag

        public ColorTag​(int color)
      • ColorTag

        public ColorTag​(int color,
                        String type)
      • ColorTag

        public ColorTag​(int color,
                        boolean fg)
      • ColorTag

        public ColorTag​(int color,
                        boolean fg,
                        String type)
    • Method Detail

      • getAnalysisType

        public String getAnalysisType()
      • getRed

        public int getRed()
      • getGreen

        public int getGreen()
      • getBlue

        public int getBlue()
      • isForeground

        public boolean isForeground()
      • getName

        public String getName()
        Description copied from interface: Tag
        Returns the tag name.
        Specified by:
        getName in interface Tag
      • getValue

        public byte[] getValue()
        Description copied from interface: Tag
        Returns the tag raw data.
        Specified by:
        getValue in interface Tag