Searched refs:contrastCalculator (Results 1 – 1 of 1) sorted by relevance
150 ContrastCalculator contrastCalculator = (fg, bg, alpha) -> { in calculateMinimumAlpha() local156 double testRatio = contrastCalculator.calculateContrast(foreground, background, 255); in calculateMinimumAlpha()162 return binaryAlphaSearch(foreground, background, minContrastRatio, contrastCalculator); in calculateMinimumAlpha()