Class ContrastRatioConsumer
- java.lang.Object
-
- org.verapdf.wcag.algorithms.semanticalgorithms.consumers.ContrastRatioConsumer
-
-
Constructor Summary
Constructors Constructor Description ContrastRatioConsumer(String sourcePdfPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(INode node)voidcalculateContrastRatio(TextChunk textChunk)voidcalculateContrastRation(TextChunk textChunk, BufferedImage renderedPage)doublegetContrastRatio(double first, double second)
-
-
-
Constructor Detail
-
ContrastRatioConsumer
public ContrastRatioConsumer(String sourcePdfPath)
-
-
Method Detail
-
getContrastRatio
public double getContrastRatio(double first, double second)
-
calculateContrastRatio
public void calculateContrastRatio(TextChunk textChunk)
-
calculateContrastRation
public void calculateContrastRation(TextChunk textChunk, BufferedImage renderedPage)
-
-