Package com.ribs.pdf.patterns
Class PDFRadialShading
java.lang.Object
com.ribs.pdf.PDFPattern
com.ribs.pdf.patterns.PDFShadingPattern
com.ribs.pdf.patterns.PDFRadialShading
- All Implemented Interfaces:
- Paint,- PaintContext,- Transparency
- 
Field SummaryFields inherited from class com.ribs.pdf.patterns.PDFShadingPatternArbitraryColorSpaceShading, DeviceGrayShading, DeviceRGBShadingFields inherited from interface java.awt.TransparencyBITMASK, OPAQUE, TRANSLUCENT
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddoShading(int[] samples, int x, int y, int w, int h) Subclasses should implement this method to draw the shading.voiddoShadingWithTransform(int[] samples, int x, int y, int w, int h) voidinitializeShadingParameters(Map shadingDict, PDFFile srcFile) Read the shading parametersMethods inherited from class com.ribs.pdf.patterns.PDFShadingPatterncreateContext, dispose, getBounds, getColorModel, getInstance, getPaint, getRaster, getRGBAPixel, getTransform, getTransparency, setColorSpaceMethods inherited from class com.ribs.pdf.PDFPatterngetGState, getInstance
- 
Constructor Details- 
PDFRadialShading
 
- 
- 
Method Details- 
initializeShadingParametersRead the shading parameters- Overrides:
- initializeShadingParametersin class- PDFShadingPattern
 
- 
doShadingpublic void doShading(int[] samples, int x, int y, int w, int h) Description copied from class:PDFShadingPatternSubclasses should implement this method to draw the shading. samples is defined to be an array of 8 bit per sample/4 samples per pixel ARGB pixels. There is no padding, so all scanlines are w integers wide.- Specified by:
- doShadingin class- PDFShadingPattern
 
- 
doShadingWithTransformpublic void doShadingWithTransform(int[] samples, int x, int y, int w, int h) 
 
-