calculateFontColor(color: Object);
color. Color value. This object has the following fields: R - red color component, G - green color component, B - blue color component.
The calculateFontColor method calculates value of text font color based on a specified color.
This method returns a String-type value.
The example of use is given in the page with description of the TreeMapItem.calculateBorderColor method.
See also: