public final class ColorUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Color |
alphaBlend(Color src,
Color dst)
Blends the two colors taking into account their alpha.
If one of the two input colors implements the UIResource interface, the result color will also implement this interface. |
static String |
toString(Color c)
Convenience to get a more readable string representation of a Color object.
|
public static Color alphaBlend(Color src, Color dst)
UIResource interface, the result color will also implement this interface.src - Source color to be blended into the destination color.dst - Destination color on which the source color is to be blended.Copyright © 2015. All Rights Reserved.