TreeMapItem.calculateFontColor

Syntax

calculateFontColor(color: Object);

Parameters

color. Color value. This object has the following fields: R - red color component, G - green color component, B - blue color component.

Description

The calculateFontColor method calculates value of text font color based on a specified color.

Comments

This method returns a String-type value.

Example

The example of use is given in the page with description of the TreeMapItem.calculateBorderColor method.

See also:

TreeMapItem