Class DefaultFactories
java.lang.Object
com.inductiveautomation.rm.pdf.reader.DefaultFactories
- All Implemented Interfaces:
- ColorFactory,- PathFactory
- 
Field SummaryFields inherited from interface com.inductiveautomation.rm.pdf.reader.ColorFactoryAbsoluteColorimetricIntent, CalibratedGrayColorspace, CalibratedRGBColorspace, ColorBlendMode, ColorBurnBlendMode, ColorDodgeBlendMode, DarkenBlendMode, DeviceCMYKColorspace, DeviceGrayColorspace, DeviceNColorspace, DeviceRGBColorspace, DifferenceBlendMode, ExclusionBlendMode, HardLightBlendMode, HueBlendMode, ICCBasedColorspace, IndexedColorspace, LabColorspace, LightenBlendMode, LuminosityBlendMode, MultiplyBlendMode, NormalBlendMode, OverlayBlendMode, PatternColorspace, PerceptualIntent, RelativeColorimetricIntent, SaturationBlendMode, SaturationIntent, ScreenBlendMode, SeparationColorspace, SoftLightBlendMode, UnknownColorspaceFields inherited from interface com.inductiveautomation.rm.pdf.reader.PathFactoryPDFBevelJoin, PDFButtLineCap, PDFMiterJoin, PDFRoundJoin, PDFRoundLineCap, PDFSquareLineCap
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreateColor(ColorSpace space, float[] values) Create a specific color in the colorspacecreateColorSpace(int type, Object params) Create a colorspace object from one of the above space IDs.createComposite(ColorSpace sourcespace, int blendMode, boolean alphaIsShape, float alpha) Create a Composite for the blend mode and alpha parameters.Initialize and return a new empty path.Create a Stroke object using the linecap,linejoin,linewidth,dashpattern, etc from the gstate.
- 
Constructor Details- 
DefaultFactoriespublic DefaultFactories()
 
- 
- 
Method Details- 
createColorSpaceDescription copied from interface:ColorFactoryCreate a colorspace object from one of the above space IDs.The value of "params" can be as follows: Device spaces - ignored CIE spaces - a Map ICC spaces - a PDF Stream Indexed spaces - a Map with keys 'base", "hival", and "lookup" Pattern - null Separation - a Map with "Colorant", "Base", & "TintTransform" DeviceN - - a Map with "Colorants", "Base", "TintTransform", & "Attributes" - Specified by:
- createColorSpacein interface- ColorFactory
 
- 
createColorDescription copied from interface:ColorFactoryCreate a specific color in the colorspace- Specified by:
- createColorin interface- ColorFactory
 
- 
createEmptyPathDescription copied from interface:PathFactoryInitialize and return a new empty path. This path may be used as either the current path or the clipping path.- Specified by:
- createEmptyPathin interface- PathFactory
 
- 
createStrokeDescription copied from interface:PathFactoryCreate a Stroke object using the linecap,linejoin,linewidth,dashpattern, etc from the gstate. Like all objects created by the factories, the parser just creates them and passes them through to the page markup handler, which can choose to use as much or as little as it wants from them.- Specified by:
- createStrokein interface- PathFactory
 
- 
createCompositepublic Composite createComposite(ColorSpace sourcespace, int blendMode, boolean alphaIsShape, float alpha) Description copied from interface:ColorFactoryCreate a Composite for the blend mode and alpha parameters. The destination onto which things will be composited will always be 32bit argb, but the source colorspace can be arbitrary. The composite will need to do some conversions if the source colorspace is anything other than deviceRGB.- Specified by:
- createCompositein interface- ColorFactory
 
 
-