GetColor

Land Desktop Map 3D Samples

 
GetColor
 
 
 

This method creates a new unique color for the specified geometry type. The geometry type is specified as an integer parameter where the integer is one of the values of theMgFeatureGeometricType enumeration. An optional boolean parameter specifies the transparency of the color - if the boolean is set to True, the color returned is 50% transparent. It returns the color as a string containing the numerical representation of the color in ARGB format.