RenderedTextContrastAnalyzer

Enriches semantic Text nodes with colors measured from one rendered view capture.

Constructors

Link copied to clipboard
constructor(rootView: View)

Functions

Link copied to clipboard

Returns unchanged nodes when the rendered colors cannot be measured confidently.

fun analyze(nodes: List<A11yNode>, bitmap: Bitmap): List<A11yNode>

Enriches nodes using a rendered bitmap whose origin matches the semantics host.