Top Description Fields Constructors Methods
org.apache.pdfbox.pdmodel.graphics.shading

public abstract Class ShadingPaint<T extends PDShading>

extends Object
implements Paint
Class Inheritance
All Implemented Interfaces
java.awt.Paint, java.awt.Transparency
Known Direct Subclasses
org.apache.pdfbox.pdmodel.graphics.shading.Type1ShadingPaint, org.apache.pdfbox.pdmodel.graphics.shading.Type4ShadingPaint, org.apache.pdfbox.pdmodel.graphics.shading.Type5ShadingPaint, org.apache.pdfbox.pdmodel.graphics.shading.Type6ShadingPaint, org.apache.pdfbox.pdmodel.graphics.shading.Type7ShadingPaint, org.apache.pdfbox.pdmodel.graphics.shading.AxialShadingPaint, org.apache.pdfbox.pdmodel.graphics.shading.RadialShadingPaint
Type Parameters
<T>
the actual PDShading class.
Imports
java.awt.Paint, org.apache.pdfbox.util.Matrix

This is base class for all PDShading-Paints to allow other low level libraries access to the shading source data. One user of this interface is the PdfBoxGraphics2D-adapter.

Field Summary

Modifier and TypeField and Description
protected final Matrix
protected final T

Constructor Summary

AccessConstructor and Description
pack-priv
ShadingPaint(T shading, Matrix matrix)

Method Summary

Modifier and TypeMethod and Description
public Matrix

Returns:

the active Matrix of this paint
getMatrix
()

public T

Returns:

the PDShading of this paint
getShading
()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

matrixback to summary
protected final Matrix matrix
shadingback to summary
protected final T shading

Constructor Detail

ShadingPaintback to summary
pack-priv ShadingPaint(T shading, Matrix matrix)

Method Detail

getMatrixback to summary
public Matrix getMatrix()
Returns:Matrix

the active Matrix of this paint

getShadingback to summary
public T getShading()
Returns:T

the PDShading of this paint