ColorSpaceGamma Class
Specifies gamma values for a CalRGB color space.
Declaration
public class ColorSpaceGamma extends JavaObject implements ICloneable
Implements
Inherited Members
Inheritance
Constructors
ColorSpaceGamma() Constructor
Initializes a new instance of the ColorSpaceGamma class.
Declaration
public ColorSpaceGamma()
ColorSpaceGamma(double red, double green, double blue) Constructor
Initializes a new instance of the ColorSpaceGamma class with specified gamma values for RGB color components.
Declaration
public ColorSpaceGamma(double red, double green, double blue)
Parameters
| Name | Type | Description |
|---|---|---|
| red | double | The gamma value for the red component. |
| green | double | The gamma value for the green component. |
| blue | double | The gamma value for the blue component. |
Methods
deepClone() Method
Creates a deep copy of the current ColorSpaceGamma object.
Declaration
public ColorSpaceGamma deepClone()
Returns
| Type | Description |
|---|---|
ColorSpaceGamma |
A copy of the current object. |
getBlue() Method
Returns the gamma value for the blue component.
Declaration
public double getBlue()
Returns
| Type | Description |
|---|---|
| double | Gamma value for the blue component. |
getGreen() Method
Returns the gamma value for the green component.
Declaration
public double getGreen()
Returns
| Type | Description |
|---|---|
| double | Gamma value for the green component. |
getRed() Method
Returns the gamma value for the red component.
Declaration
public double getRed()
Returns
| Type | Description |
|---|---|
| double | Gamma value for the red component. |
objectClone() Method
Creates a copy of the ColorSpaceGamma object.
Declaration
public Object objectClone()
Returns
| Type | Description |
|---|---|
| Object | A copy of the current |
setBlue(double value) Method
Sets the gamma value for the blue component.
Declaration
public void setBlue(double value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | double | Gamma value for the blue component. |
setGreen(double value) Method
Sets the gamma value for the green component.
Declaration
public void setGreen(double value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | double | Gamma value for the green component. |
setRed(double value) Method
Sets the gamma value for the red component.
Declaration
public void setRed(double value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | double | Gamma value for the red component. |