Class ColorContrastResult
- java.lang.Object
-
- com.deque.axe.android.colorcontrast.ColorContrastResult
-
public class ColorContrastResult extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description com.deque.axe.android.colorcontrast.ColorPairmostContrastingPair
-
Constructor Summary
Constructors Constructor Description ColorContrastResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetConfidence()AxeColorgetMostLikelyBackgroundColor()After running color contrast, get the most likely found background color.AxeColorgetMostLikelyTextColor()After running color contrast, get the most likely found text color.
-
-
-
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()
-
-