PatternColorSpace Class
A Pattern color space in a PDF document.
Declaration
public class PatternColorSpace extends ColorSpace
Remarks
A pattern color space uses a tiling or shading pattern to define the appearance of PDF content. It can optionally specify an underlying color space for uncolored patterns.
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
PatternColorSpace
Constructors
PatternColorSpace() Constructor
Initializes a new instance of the PatternColorSpace class.
Declaration
public PatternColorSpace()
PatternColorSpace(ColorSpace underlyingColorSpace) Constructor
Initializes a new instance of the PatternColorSpace class with the specified underlying color space.
Declaration
public PatternColorSpace(ColorSpace underlyingColorSpace)
Parameters
| Name | Type | Description |
|---|---|---|
| underlyingColorSpace | ColorSpace | The color space used by uncolored patterns. |
Methods
getComponentsCount() Method
Returns the number of color components in the pattern color space.
Declaration
public int getComponentsCount()
Returns
| Type | Description |
|---|---|
| int | The number of color components. |
getUnderlyingColorSpace() Method
Returns the underlying color space used by the pattern color space.
Declaration
public ColorSpace getUnderlyingColorSpace()
Returns
| Type | Description |
|---|---|
| ColorSpace | The underlying color space. |
setUnderlyingColorSpace(ColorSpace value) Method
Sets the underlying color space used by the pattern color space.
Declaration
public void setUnderlyingColorSpace(ColorSpace value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | ColorSpace | The underlying color space. |