Class AXmlColorValue

java.lang.Object
soot.jimple.infoflow.android.axml.AXmlColorValue

public class AXmlColorValue extends Object
Value representing a color in a binary Android XML file
Author:
Steven Arzt
  • Constructor Details

    • AXmlColorValue

      public AXmlColorValue(int a, int r, int g, int b)
    • AXmlColorValue

      public AXmlColorValue(int r, int g, int b)
  • Method Details

    • getA

      public int getA()
    • getR

      public int getR()
    • getG

      public int getG()
    • getB

      public int getB()
    • toString

      public String toString()
      Creates a string representation of the ARGB values as #aarrggbb
      Overrides:
      toString in class Object
      Returns:
      A string representation of the ARGB values
    • toRGBString

      public String toRGBString()
      Creates a string representation of the RGB values as #rrggbb
      Returns:
      A string representation of the RGB values
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object