Class RgbColor
java.lang.Object
com.independentsoft.office.drawing.ColorChoice
com.independentsoft.office.drawing.RgbColor
The Class RgbColor.
-
Field Summary
Fields inherited from class com.independentsoft.office.drawing.ColorChoice
colorTransforms -
Constructor Summary
ConstructorsConstructorDescriptionRgbColor()Instantiates a new rgb color.RgbColor(InternalXMLStreamReader reader)Instantiates a new rgb color. -
Method Summary
Modifier and TypeMethodDescriptionclone()intGets the blue value.intGets the green value.intGets the red value.voidsetBlueValue(int blueValue)Sets the blue value.voidsetGreenValue(int greenValue)Sets the green value.voidsetRedValue(int redValue)Sets the red value.toString()Methods inherited from class com.independentsoft.office.drawing.ColorChoice
getColorTransforms
-
Constructor Details
-
RgbColor
public RgbColor()Instantiates a new rgb color. -
RgbColor
Instantiates a new rgb color.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
- Specified by:
clonein classColorChoice
-
toString
-
getBlueValue
public int getBlueValue()Gets the blue value.- Returns:
- the blue value
-
setBlueValue
public void setBlueValue(int blueValue)Sets the blue value.- Parameters:
blueValue- the new blue value
-
getGreenValue
public int getGreenValue()Gets the green value.- Returns:
- the green value
-
setGreenValue
public void setGreenValue(int greenValue)Sets the green value.- Parameters:
greenValue- the new green value
-
getRedValue
public int getRedValue()Gets the red value.- Returns:
- the red value
-
setRedValue
public void setRedValue(int redValue)Sets the red value.- Parameters:
redValue- the new red value
-