| java.lang.Object com.sun.pdfview.colorspace.PDFColorSpace com.sun.pdfview.colorspace.PatternSpace
PatternSpace | public class PatternSpace extends PDFColorSpace (Code) | | A PatternSpace fills with a pattern, the name of which is
specified in the call to getPaint(). This pattern is
read from the resources of the current page. The pattern space
may also have a base color space which the pattern is defined in.
|
PatternSpace | public PatternSpace()(Code) | | |
PatternSpace | public PatternSpace(PDFColorSpace base)(Code) | | Create a pattern space with the given color space as a base
|
getNumComponents | public int getNumComponents()(Code) | | Get the number of components we want
|
getPaint | public PDFPaint getPaint(float[] components)(Code) | | get the PDFPaint representing the color described by the
given color components
Parameters: components - the color components corresponding to the givencolorspace a PDFPaint object representing the closest Color to thegiven components. |
getPaint | public PDFPaint getPaint(PDFObject patternObj, float[] components, Map resources) throws IOException(Code) | | Get the paint representing a pattern, optionally with the given
base paint.
Parameters: patternObj - the pattern to render Parameters: components - the components of the base paint |
|
|