## Uses of Class
com.sun.pdfview.PDFPaint

Packages that use PDFPaint
Package | Description
--- | ---
com.sun.pdfview |
com.sun.pdfview.colorspace |
com.sun.pdfview.pattern |

### Uses of PDFPaint in com.sun.pdfview

Methods in com.sun.pdfview that return PDFPaint
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

Methods in com.sun.pdfview with parameters of type PDFPaint
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

### Uses of PDFPaint in com.sun.pdfview.colorspace

Methods in com.sun.pdfview.colorspace that return PDFPaint
Modifier and Type | Method and Description
--- | ---
`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` | 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` | PatternSpace.`getPaint(PDFObject patternObj, float[] components, java.util.Map resources)` Get the paint representing a pattern, optionally with the given base paint.

Constructors in com.sun.pdfview.colorspace with parameters of type PDFPaint
Constructor and Description
`MaskColorSpace(PDFPaint paint)` Creates a new instance of PaintColorSpace

### Uses of PDFPaint in com.sun.pdfview.pattern

Methods in com.sun.pdfview.pattern that return PDFPaint
Modifier and Type | Method and Description
--- | ---
`PDFPaint` | PDFShader.`getBackground()` Get the background color
`PDFPaint` | ShaderType2.`getPaint()` Create a paint that paints this pattern
`abstract PDFPaint` | PDFShader.`getPaint()` Returns paint that represents the selected shader
`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.

Methods in com.sun.pdfview.pattern with parameters of type PDFPaint
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