CalGrayColorSpace Class
A CIE-based calibrated single-component (gray) color space.
Declaration
public class CalGrayColorSpace extends ColorSpace
Inherited Members
com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)
Inheritance
Object
JavaObject
ColorSpace
CalGrayColorSpace
CalGrayColorSpace()
Initializes a new instance of the CalGrayColorSpace class.
Declaration
public CalGrayColorSpace()
Methods
getBlackPoint() Method
Returns the black point of the color space.
Declaration
public CIEColor getBlackPoint()
Returns
| Type | Description |
|---|---|
| CIEColor | The black point in CIE 1931 XYZ coordinates. |
getComponentsCount() Method
Returns the number of color components in this color space.
Declaration
public int getComponentsCount()
Returns
| Type | Description |
|---|---|
| int | The number of color components. |
getGamma() Method
Returns the gamma value for the color space.
Declaration
public double getGamma()
Returns
| Type | Description |
|---|---|
| double | The gamma value. The default value is 1.0. |
getWhitePoint() Method
Returns the white point of the color space.
Declaration
public CIEColor getWhitePoint()
Returns
| Type | Description |
|---|---|
| CIEColor | The white point in CIE 1931 XYZ coordinates. |
setBlackPoint(CIEColor value) Method
Sets the black point of the color space.
Declaration
public void setBlackPoint(CIEColor value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | CIEColor | The black point in CIE 1931 XYZ coordinates. |
setGamma(double value) Method
Sets the gamma value for the color space.
Declaration
public void setGamma(double value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | double | The gamma value. The default value is 1.0. |
setWhitePoint(CIEColor value) Method
Sets the white point of the color space.
Declaration
public void setWhitePoint(CIEColor value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | CIEColor | The white point in CIE 1931 XYZ coordinates. |