| Modifier and Type | Field and Description |
|---|---|
protected PdfColorSpace |
Color.colorSpace
The color space of the color
|
| Modifier and Type | Method and Description |
|---|---|
PdfColorSpace |
Color.getColorSpace()
Returns the
color space
to which the color is related. |
| Modifier and Type | Method and Description |
|---|---|
static Color |
Color.makeColor(PdfColorSpace colorSpace)
Makes a Color of certain color space.
|
static Color |
Color.makeColor(PdfColorSpace colorSpace,
float[] colorValue)
Makes a Color of certain color space and color value.
|
| Constructor and Description |
|---|
Color(PdfColorSpace colorSpace,
float[] colorValue)
Creates a Color of certain color space and color value.
|
DeviceN(List<String> names,
PdfColorSpace alternateCs,
IPdfFunction tintTransform,
float[] value)
Creates a color in a new DeviceN color space.
|
Indexed(PdfColorSpace colorSpace)
Creates an indexed color using the given
PdfColorSpace. |
Indexed(PdfColorSpace colorSpace,
int colorValue)
Creates an indexed color using the given
PdfColorSpace and color values. |
PatternColor(PdfPattern.Tiling uncoloredPattern,
PdfColorSpace underlyingCS,
float[] colorValue)
Creates a pattern color using the given uncolored pattern object, an underlying color space and color values.
|
Separation(String name,
PdfColorSpace alternateCs,
IPdfFunction tintTransform,
float value)
Creates a color in a new separation color space.
|
| Modifier and Type | Method and Description |
|---|---|
PdfColorSpace |
PdfResources.getColorSpace(PdfName name) |
| Modifier and Type | Method and Description |
|---|---|
PdfName |
PdfResources.addColorSpace(PdfColorSpace cs)
Adds
PdfColorSpace object to the resources. |
void |
PdfResources.setDefaultCmyk(PdfColorSpace defaultCs)
Sets the value of default CMYK Color Space (see ISO-320001 Paragraph 8.6.5.6).
|
void |
PdfResources.setDefaultGray(PdfColorSpace defaultCs)
Sets the value of default Gray Color Space (see ISO-320001 Paragraph 8.6.5.6).
|
void |
PdfResources.setDefaultRgb(PdfColorSpace defaultCs)
Sets the value of default RGB Color Space (see ISO-320001 Paragraph 8.6.5.6).
|
| Modifier and Type | Method and Description |
|---|---|
PdfCanvas |
PdfCanvas.setColor(PdfColorSpace colorSpace,
float[] colorValue,
boolean fill)
Changes the current color for paths.
|
PdfCanvas |
PdfPatternCanvas.setColor(PdfColorSpace colorSpace,
float[] colorValue,
PdfPattern pattern,
boolean fill) |
PdfCanvas |
PdfCanvas.setColor(PdfColorSpace colorSpace,
float[] colorValue,
PdfPattern pattern,
boolean fill)
Changes the current color for paths with an explicitly defined pattern.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PdfCieBasedCs |
static class |
PdfCieBasedCs.CalGray |
static class |
PdfCieBasedCs.CalRgb |
static class |
PdfCieBasedCs.IccBased |
static class |
PdfCieBasedCs.Lab |
class |
PdfDeviceCs |
static class |
PdfDeviceCs.Cmyk |
static class |
PdfDeviceCs.Gray |
static class |
PdfDeviceCs.Rgb |
class |
PdfSpecialCs |
static class |
PdfSpecialCs.DeviceN |
static class |
PdfSpecialCs.Indexed |
static class |
PdfSpecialCs.NChannel |
static class |
PdfSpecialCs.Pattern |
static class |
PdfSpecialCs.Separation |
static class |
PdfSpecialCs.UncoloredTilingPattern |
| Modifier and Type | Method and Description |
|---|---|
PdfColorSpace |
PdfSpecialCs.Indexed.getBaseCs() |
PdfColorSpace |
PdfSpecialCs.Separation.getBaseCs() |
PdfColorSpace |
PdfSpecialCs.DeviceN.getBaseCs() |
PdfColorSpace |
PdfSpecialCs.UncoloredTilingPattern.getUnderlyingColorSpace() |
static PdfColorSpace |
PdfColorSpace.makeColorSpace(PdfObject pdfObject) |
| Constructor and Description |
|---|
DeviceN(List<String> names,
PdfColorSpace alternateSpace,
IPdfFunction tintTransform)
Creates a new DiviceN colorspace.
|
NChannel(List<String> names,
PdfColorSpace alternateSpace,
IPdfFunction tintTransform,
PdfDictionary attributes)
Creates a new NChannel colorspace.
|
Separation(String name,
PdfColorSpace alternateSpace,
IPdfFunction tintTransform)
Creates a new separation color space.
|
UncoloredTilingPattern(PdfColorSpace underlyingColorSpace) |
| Constructor and Description |
|---|
AbstractPdfShading(PdfDictionary pdfObject,
int type,
PdfColorSpace colorSpace)
Creates the
AbstractPdfShading object from the existing PdfDictionary,
using provided type and colorspace. |
AbstractPdfShadingBlend(PdfDictionary pdfObject,
int shadingType,
PdfColorSpace cs)
Constructor for PdfShadingBlend object using PdfDictionary, shading type and colorspace value.
|
AbstractPdfShadingMesh(PdfDictionary pdfObject,
int type,
PdfColorSpace colorSpace)
Constructor for PdfShadingBlend object using a PdfDictionary, shading type and color space.
|
AbstractPdfShadingMeshWithFlags(PdfDictionary pdfObject,
int type,
PdfColorSpace colorSpace)
Constructor for PdfShadingBlend object using a PdfDictionary, shading type and color space.
|
PdfAxialShading(PdfColorSpace cs,
float x0,
float y0,
float[] color0,
float x1,
float y1,
float[] color1)
Creates the new instance of the class.
|
PdfAxialShading(PdfColorSpace cs,
float x0,
float y0,
float[] color0,
float x1,
float y1,
float[] color1,
boolean[] extend)
Creates the new instance of the class.
|
PdfAxialShading(PdfColorSpace cs,
PdfArray coords,
IPdfFunction function)
Creates the new instance of the class.
|
PdfAxialShading(PdfColorSpace cs,
PdfArray coords,
PdfArray domain,
IPdfFunction function)
Creates the new instance of the class.
|
PdfCoonsPatchShading(PdfColorSpace cs,
int bitsPerCoordinate,
int bitsPerComponent,
int bitsPerFlag,
float[] decode)
Creates the new instance of the class.
|
PdfCoonsPatchShading(PdfColorSpace cs,
int bitsPerCoordinate,
int bitsPerComponent,
int bitsPerFlag,
PdfArray decode)
Creates the new instance of the class.
|
PdfFreeFormGouraudShadedTriangleShading(PdfColorSpace cs,
int bitsPerCoordinate,
int bitsPerComponent,
int bitsPerFlag,
float[] decode)
Creates the new instance of the class.
|
PdfFreeFormGouraudShadedTriangleShading(PdfColorSpace cs,
int bitsPerCoordinate,
int bitsPerComponent,
int bitsPerFlag,
PdfArray decode)
Creates the new instance of the class.
|
PdfFunctionBasedShading(PdfColorSpace colorSpace,
IPdfFunction function)
Creates the new instance of the class.
|
PdfLatticeFormGouraudShadedTriangleShading(PdfColorSpace cs,
int bitsPerCoordinate,
int bitsPerComponent,
int verticesPerRow,
float[] decode)
Creates the new instance of the class.
|
PdfLatticeFormGouraudShadedTriangleShading(PdfColorSpace cs,
int bitsPerCoordinate,
int bitsPerComponent,
int verticesPerRow,
PdfArray decode)
Creates the new instance of the class.
|
PdfRadialShading(PdfColorSpace cs,
float x0,
float y0,
float r0,
float[] color0,
float x1,
float y1,
float r1,
float[] color1)
Creates the new instance of the class.
|
PdfRadialShading(PdfColorSpace cs,
float x0,
float y0,
float r0,
float[] color0,
float x1,
float y1,
float r1,
float[] color1,
boolean[] extend)
Creates the new instance of the class.
|
PdfRadialShading(PdfColorSpace cs,
PdfArray coords,
IPdfFunction function)
Creates the new instance of the class.
|
PdfTensorProductPatchShading(PdfColorSpace cs,
int bitsPerCoordinate,
int bitsPerComponent,
int bitsPerFlag,
float[] decode)
Creates the new instance of the class.
|
PdfTensorProductPatchShading(PdfColorSpace cs,
int bitsPerCoordinate,
int bitsPerComponent,
int bitsPerFlag,
PdfArray decode)
Creates the new instance of the class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
PdfType4Function.checkCompatibilityWithColorSpace(PdfColorSpace alternateSpace) |
boolean |
PdfType3Function.checkCompatibilityWithColorSpace(PdfColorSpace alternateSpace) |
boolean |
AbstractPdfFunction.checkCompatibilityWithColorSpace(PdfColorSpace alternateSpace)
Chacks wether the output of the function matches in components with the passed by color space.
|
boolean |
IPdfFunction.checkCompatibilityWithColorSpace(PdfColorSpace alternateSpace) |
boolean |
PdfType0Function.checkCompatibilityWithColorSpace(PdfColorSpace alternateSpace) |
Copyright © 1998–2024 Apryse Group NV. All rights reserved.