highlightText

highlightText(String text, Color highlightColor) method

Highlight all matches of sample in text frame text using specified color.

Parameters

NameTypeDescription
textStringText sample to highlight.
highlightColorColorHighlighting color.

Returns

void


highlightText(String text, Color highlightColor, TextHighlightingOptions options) method

Highlight all matches of sample in text frame text using specified color.

Parameters

NameTypeDescription
textStringText sample to highlight.
highlightColorColorHighlighting color.
optionsTextHighlightingOptionsHighlighting options.

Returns

void