getContrastToBackgroundColor Method

Get a color that will contrast to the current background color of this Viewport. Either Black or White depending on which will have the most contrast.

getContrastToBackgroundColor(): ColorDef

Defined in

Last Updated: 08 January, 2020