Package eu.europa.esig.dss.ws.dto
Class RemoteColor
java.lang.Object
eu.europa.esig.dss.ws.dto.RemoteColor
- All Implemented Interfaces:
Serializable
DTO for a
Color
object- See Also:
-
Constructor Summary
ConstructorDescriptionThe empty constructorRemoteColor
(int red, int green, int blue) The default constructor without alpha layerRemoteColor
(Integer red, Integer green, Integer blue, Integer alpha) The default constructor with alpha layer -
Method Summary
Modifier and TypeMethodDescriptionboolean
getAlpha()
Gets alpha layer valuegetBlue()
Gets blue color valuegetGreen()
Gets green color valuegetRed()
Gets red color valueint
hashCode()
void
Sets alpha layer valuevoid
Sets blue color valuevoid
Sets green color valuevoid
Sets red color valuetoString()
-
Constructor Details
-
RemoteColor
public RemoteColor()The empty constructor -
RemoteColor
public RemoteColor(int red, int green, int blue) The default constructor without alpha layer- Parameters:
red
- R color valuegreen
- G color valueblue
- B color value
-
RemoteColor
The default constructor with alpha layer- Parameters:
red
- R color valuegreen
- G color valueblue
- B color valuealpha
- alpha layer value
-
-
Method Details
-
getRed
Gets red color value- Returns:
Integer
-
setRed
Sets red color value- Parameters:
red
-Integer
-
getGreen
Gets green color value- Returns:
Integer
-
setGreen
Sets green color value- Parameters:
green
-Integer
-
getBlue
Gets blue color value- Returns:
Integer
-
setBlue
Sets blue color value- Parameters:
blue
-Integer
-
getAlpha
Gets alpha layer value- Returns:
Integer
-
setAlpha
Sets alpha layer value- Parameters:
alpha
-Integer
-
hashCode
public int hashCode() -
equals
-
toString
-