Package org.zkoss.web.fn
Class Color
- java.lang.Object
-
- org.zkoss.web.fn.Color
-
public class Color extends java.lang.ObjectSimple container for color components, using rgba, all in 0-255 range- Author:
- Christopher
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAlpha()intgetBlue()intgetGreen()intgetRed()intgetRGB()
-
-
-
Constructor Detail
-
Color
public Color(int r, int g, int b)All color channel should be in 0-255 range, alpha will default to 255 if not given- Parameters:
r- redg- greenb- blue
-
Color
public Color(int r, int g, int b, int a)All color channel should be in 0-255 range- Parameters:
r- redg- greenb- bluea- alpha
-
-