|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pdfbox.pdmodel.graphics.color.PDColorSpaceFactory
public final class PDColorSpaceFactory
This class represents a color space in a pdf document.
| Method Summary | |
|---|---|
static PDColorSpace |
createColorSpace(COSBase colorSpace)
This will create the correct color space given the name. |
static PDColorSpace |
createColorSpace(PDDocument doc,
java.awt.color.ColorSpace cs)
This will create the correct color space from a java colorspace. |
static PDColorSpace |
createColorSpace(java.lang.String colorSpaceName)
This will create the correct color space given the name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PDColorSpace createColorSpace(COSBase colorSpace)
throws java.io.IOException
colorSpace - The color space object.
java.io.IOException - If the color space name is unknown.
public static PDColorSpace createColorSpace(java.lang.String colorSpaceName)
throws java.io.IOException
colorSpaceName - The name of the colorspace.
java.io.IOException - If the color space name is unknown.
public static PDColorSpace createColorSpace(PDDocument doc,
java.awt.color.ColorSpace cs)
throws java.io.IOException
doc - The doc to potentiall write information to.cs - The awt colorspace.
java.io.IOException - If the color space name is unknown.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||