class HighlightDelegate

Defined at line 14 of file ../../src/ui/a11y/lib/annotation/highlight_delegate.h

Interface for the object that interacts with Flatland to show or hide the

accessibility highlight.

Public Methods

void DrawHighlight (fuchsia::math::PointF top_left, fuchsia::math::PointF bottom_right, zx_koid_t view_koid, fit::function<void ()> callback)

Draw an accessibility highlight (a brightly colored border) around the

rectangular region specified.

The highlight rectangles will be centered on the edges of the rectangle provided, so the

highlight will cover some pixels 'inside' and some pixels 'outside' the rectangle.

`top_left` and `bottom_right` are given in the coordinate space of

the view specified by `view_koid`.

The callback is for synchronization in tests.

void ClearHighlight (fit::function<void ()> callback)

Clears the current highlight (if any).

The callback is for synchronization in tests.

void ~HighlightDelegate ()

Defined at line 16 of file ../../src/ui/a11y/lib/annotation/highlight_delegate.h

void DrawHighlight (fuchsia::math::PointF top_left, fuchsia::math::PointF bottom_right, zx_koid_t view_koid)

Defined at line 30 of file ../../src/ui/a11y/lib/annotation/highlight_delegate.h

void ClearHighlight ()

Defined at line 40 of file ../../src/ui/a11y/lib/annotation/highlight_delegate.h