|
com.aspose.pdf.elements
Class RgbColorSpace
java.lang.Object
com.aspose.pdf.elements.Color
com.aspose.pdf.elements.RgbColorSpace
- All Implemented Interfaces:
- java.lang.Cloneable
public class RgbColorSpace - extends Color
Represents a Color object that indicates the RGB colorspace.
| Fields inherited from class com.aspose.pdf.elements.Color |
Aqua, Black, Blue, Fuchsia, Gray, Green, Lime, Maroon, Navy, Olive, Purple, Red, Silver, Teal, White, Yellow |
|
Constructor Summary |
RgbColorSpace(short red,
short green,
short blue)
Initializes a Color object that indicates the RGB colorspace. |
RgbColorSpace(java.lang.String rgb)
Initializes a Color object that indicates the RGB colorspace. |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RgbColorSpace
public RgbColorSpace(short red,
short green,
short blue)
- Initializes a Color object that indicates the RGB colorspace.
RgbColorSpace
public RgbColorSpace(java.lang.String rgb)
- Initializes a Color object that indicates the RGB colorspace.
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone in class Color
- Throws:
java.lang.CloneNotSupportedException- See Also:
Object.clone()
getRedComponent
public short getRedComponent()
- Gets the red component of RGB color space.
setRedComponent
public void setRedComponent(short red)
- Sets the red component of RGB color space.
getGrennComponent
public short getGrennComponent()
- Gets the green component of RGB color space.
setGrennComponent
public void setGrennComponent(short green)
- Sets the green component of RGB color space.
getBlueComponent
public short getBlueComponent()
- Gets the blue component of RGB color space.
setBlueComponent
public void setBlueComponent(short blue)
- Sets the blue component of RGB color space.
|