selectionColor

Sets the background painted behind selected text in a text component.

Return

this chain with the selection color declared on it.

Parameters

color

the color filled behind the selected span; the characters over it take selectedTextColor.

See also