ColorSpace Class
The base class for PDF color spaces.
Declaration
public abstract class ColorSpace extends JavaObject
Inherited Members
com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.initFields()
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
com.devexpress.system.JavaObject
ColorSpace
Methods
getComponentsCount() Method
Returns the number of color components in this color space.
Declaration
public abstract int getComponentsCount()
Returns
| Type | Description |
|---|---|
| int | The number of color components. |
getDeviceCMYK() Method
Returns the DeviceCMYK color space instance.
Declaration
public static ColorSpace getDeviceCMYK()
Returns
| Type | Description |
|---|---|
ColorSpace |
An object that defines the CMYK color space. |
getDeviceGray() Method
Returns the DeviceGray color space instance.
Declaration
public static ColorSpace getDeviceGray()
Returns
| Type | Description |
|---|---|
ColorSpace |
An object that defines the grayscale color space. |
getDeviceRGB() Method
Returns the DeviceRGB color space instance.
Declaration
public static ColorSpace getDeviceRGB()
Returns
| Type | Description |
|---|---|
ColorSpace |
An object that defines the RGB color space. |
getType() Method
Returns the color space type.
Declaration
public ColorSpaceType getType()
Returns
| Type | Description |
|---|---|
| ColorSpaceType | The color space type. |