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

public Class PDShadingType3

extends PDShadingType2
Class Inheritance
Imports
java.awt.Paint, org.apache.pdfbox.cos.COSDictionary, org.apache.pdfbox.util.Matrix

Resources for a radial shading.

Constructor Summary

AccessConstructor and Description
public
PDShadingType3(COSDictionary
the dictionary for this shading
shadingDictionary
)

Constructor using the given shading dictionary.

Method Summary

Modifier and TypeMethod and Description
public int
public Paint
toPaint(Matrix
the pattern matrix concatenated with that of the parent content stream, this matrix which maps the pattern's internal coordinate system to user space
matrix
)

Overrides org.apache.pdfbox.pdmodel.graphics.shading.PDShadingType2.toPaint.

Returns an AWT paint which corresponds to this shading

Inherited from org.apache.pdfbox.pdmodel.graphics.shading.PDShadingType2:
getCoordsgetDomaingetExtendsetCoordssetDomainsetExtend

Constructor Detail

PDShadingType3back to summary
public PDShadingType3(COSDictionary shadingDictionary)

Constructor using the given shading dictionary.

Parameters
shadingDictionary:COSDictionary

the dictionary for this shading

Method Detail

getShadingTypeback to summary
public int getShadingType()

Overrides org.apache.pdfbox.pdmodel.graphics.shading.PDShadingType2.getShadingType.

Doc from org.apache.pdfbox.pdmodel.graphics.shading.PDShading.getShadingType.

This will return the shading type.

Returns:int

the shading typ

Annotations
@Override
toPaintback to summary
public Paint toPaint(Matrix matrix)

Overrides org.apache.pdfbox.pdmodel.graphics.shading.PDShadingType2.toPaint.

Doc from org.apache.pdfbox.pdmodel.graphics.shading.PDShading.toPaint.

Returns an AWT paint which corresponds to this shading

Parameters
matrix:Matrix

the pattern matrix concatenated with that of the parent content stream, this matrix which maps the pattern's internal coordinate system to user space

Returns:Paint

an AWT Paint instance

Annotations
@Override