Package | Description |
---|---|
org.apache.pdfbox.pdmodel.graphics.shading |
This package deals with shadings which are used for filling instead of a color.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
CoonsPatch
This class is used to describe a patch for type 6 shading.
|
(package private) class |
TensorPatch
This class is used to describe a patch for type 7 shading.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<Patch> |
PatchMeshesShadingContext.patchList
patch list
|
Modifier and Type | Method and Description |
---|---|
protected Patch |
Type7ShadingContext.generatePatch(java.awt.geom.Point2D[] points,
float[][] color) |
(package private) abstract Patch |
PatchMeshesShadingContext.generatePatch(java.awt.geom.Point2D[] points,
float[][] color)
Create a patch using control points and 4 corner color values, in
Type6ShadingContext, a CoonsPatch is returned; in Type6ShadingContext, a
TensorPatch is returned.
|
protected Patch |
Type6ShadingContext.generatePatch(java.awt.geom.Point2D[] points,
float[][] color) |
protected Patch |
PatchMeshesShadingContext.readPatch(javax.imageio.stream.ImageInputStream input,
boolean isFree,
java.awt.geom.Point2D[] implicitEdge,
float[][] implicitCornerColor,
long maxSrcCoord,
long maxSrcColor,
PDRange rangeX,
PDRange rangeY,
PDRange[] colRange,
Matrix matrix,
java.awt.geom.AffineTransform xform,
int controlPoints)
Read a single patch from a data stream, a patch contains information of its coordinates and
color parameters.
|
Modifier and Type | Method and Description |
---|---|
(package private) java.util.List<Patch> |
PatchMeshesShadingContext.collectPatches(PDShadingType6 shadingType,
java.awt.geom.AffineTransform xform,
Matrix matrix,
int controlPoints)
Create a patch list from a data stream, the returned list contains all the patches contained
in the data stream.
|