Package io.keikai.model.impl
Class ColorImpl
java.lang.Object
io.keikai.model.impl.AbstractColorAdv
io.keikai.model.impl.ColorImpl
- All Implemented Interfaces:
SColor,Serializable
- Since:
- 3.5.0
- Author:
- dennis
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AbstractColorAdvstatic final AbstractColorAdvstatic final AbstractColorAdvstatic final AbstractColorAdvstatic final AbstractColorAdv -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
WHITE
-
BLACK
-
RED
-
GREEN
-
BLUE
-
-
Constructor Details
-
ColorImpl
public ColorImpl(byte[] rgb) -
ColorImpl
public ColorImpl(byte r, byte g, byte b) -
ColorImpl
-
-
Method Details
-
getHtmlColor
Description copied from interface:SColorGets the color html string expression, for example "#FF6622"- Returns:
-
getRGB
public byte[] getRGB()Description copied from interface:SColorGets the color types array, order by Red,Green,Blue- Returns:
-
hashCode
public int hashCode() -
equals
-
toString
-
getARGB
public byte[] getARGB()Description copied from class:AbstractColorAdvReturns byte array in Alpha, Red, Green, Blue order- Specified by:
getARGBin classAbstractColorAdv- Returns:
-