Class ColorContrastResult


  • public class ColorContrastResult
    extends java.lang.Object
    • Field Detail

      • mostContrastingPair

        public com.deque.axe.android.colorcontrast.ColorPair mostContrastingPair
    • Constructor Detail

      • ColorContrastResult

        public ColorContrastResult()
    • Method Detail

      • getMostLikelyBackgroundColor

        public AxeColor getMostLikelyBackgroundColor()
        After running color contrast, get the most likely found background color.
        Returns:
        The most likely background color.
      • getMostLikelyTextColor

        public AxeColor getMostLikelyTextColor()
        After running color contrast, get the most likely found text color.
        Returns:
        The most likely text color.
      • getConfidence

        public java.lang.String getConfidence()