Package | Description |
---|---|
com.sun.pdfview | |
com.sun.pdfview.colorspace | |
com.sun.pdfview.pattern |
Modifier and Type | Method and Description |
---|---|
static PDFPaint |
PDFPaint.getColorPaint(java.awt.Color c)
get the PDFPaint representing a solid color
|
static PDFPaint |
PDFPaint.getPaint(java.awt.Paint p)
get the PDFPaint representing a generic paint
|
Modifier and Type | Method and Description |
---|---|
void |
PDFPage.addFillPaint(PDFPaint p)
set the fill paint
|
void |
PDFPage.addStrokePaint(PDFPaint p)
set the stroke paint
|
void |
PDFRenderer.setFillPaint(PDFPaint paint)
set the fill color
|
void |
PDFRenderer.setStrokePaint(PDFPaint paint)
set the stroke color
|
Modifier and Type | Method and Description |
---|---|
PDFPaint |
IndexedColor.getPaint(float[] components)
get the color represented by the index.
|
PDFPaint |
AlternateColorSpace.getPaint(float[] components)
get the PDFPaint representing the color described by the
given color components
|
PDFPaint |
PDFColorSpace.getPaint(float[] components)
get the PDFPaint representing the color described by the
given color components
|
PDFPaint |
PatternSpace.getPaint(float[] components)
get the PDFPaint representing the color described by the
given color components
|
PDFPaint |
PatternSpace.getPaint(PDFObject patternObj,
float[] components,
java.util.Map resources)
Get the paint representing a pattern, optionally with the given
base paint.
|
Constructor and Description |
---|
MaskColorSpace(PDFPaint paint)
Creates a new instance of PaintColorSpace
|
Modifier and Type | Method and Description |
---|---|
PDFPaint |
PDFShader.getBackground()
Get the background color
|
abstract PDFPaint |
PDFShader.getPaint()
Returns paint that represents the selected shader
|
PDFPaint |
ShaderType2.getPaint()
Create a paint that paints this pattern
|
abstract PDFPaint |
PDFPattern.getPaint(PDFPaint basePaint)
Returns paint that represents the selected pattern
|
PDFPaint |
PatternType1.getPaint(PDFPaint basePaint)
Create a PDFPaint from this pattern and set of components.
|
Modifier and Type | Method and Description |
---|---|
abstract PDFPaint |
PDFPattern.getPaint(PDFPaint basePaint)
Returns paint that represents the selected pattern
|
PDFPaint |
PatternType1.getPaint(PDFPaint basePaint)
Create a PDFPaint from this pattern and set of components.
|
protected void |
PDFShader.setBackground(PDFPaint background)
Set the background color
|