KnownColors

Inheritance: java.lang.Object

public final class KnownColors

Methods

Method Description
getValues()
fromKnownColor(int kc)
getName(short kc)
getName(int kc)
findColorMatch(Color c) Should be reviewed simultaneously with ColorConverter.staticConvertFromString
isHeadless()

getValues()

public static Color[] getValues()

Returns: com.aspose.email.Color[]

fromKnownColor(int kc)

public static Color fromKnownColor(int kc)

Parameters:

Parameter Type Description
kc int

Returns: Color

getName(short kc)

public static String getName(short kc)

Parameters:

Parameter Type Description
kc short

Returns: java.lang.String

getName(int kc)

public static String getName(int kc)

Parameters:

Parameter Type Description
kc int

Returns: java.lang.String

findColorMatch(Color c)

public static Color findColorMatch(Color c)

Should be reviewed simultaneously with ColorConverter.staticConvertFromString

Parameters:

Parameter Type Description
c Color

Returns: Color -

isHeadless()

public static boolean isHeadless()

Returns: boolean