Search
JsonConverter.fromColor Method
See Also
 






Converts the specified Color to string. boolean hex param is a param to indicate whether color has to be converted to Hex value. The Default resulting string is in the format rgba(0,0,0,0).

Namespace: com.mindfusion.common
Package: com.mindfusion.common

 Syntax

Java  Copy Code

public static String fromColor (
    Color val,
    boolean hex
)

 Parameters

val

hex

 Return Value

 See Also