public class ColorSpaceHelperFactory extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ColorSpaceHelperFactory.ColorSpaceRestriction
Enum used as argument of methods of this factory to return the right Helper.
|
Constructor and Description |
---|
ColorSpaceHelperFactory() |
Modifier and Type | Method and Description |
---|---|
ColorSpaceHelper |
getColorSpaceHelper(PreflightContext context,
PDColorSpace cs,
ColorSpaceHelperFactory.ColorSpaceRestriction csr)
Return an instance of ColorSpaceHelper according to the ColorSpaceRestiction value.
|
public ColorSpaceHelper getColorSpaceHelper(PreflightContext context, PDColorSpace cs, ColorSpaceHelperFactory.ColorSpaceRestriction csr)
context
- the PreflightContext to access useful datacs
- the High level PDFBox object which represents the ColorSpacecsr
- the color space restrictionCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.