| Modifier and Type | Field and Description |
|---|---|
| private static final Log |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final List | Returns: the obtained patch listtransformation for user to device space xform, Matrix the pattern matrix concatenated with that of the parent content stream matrix, int number of control points, 12 for type 6 shading and 16 for type 7 shading controlPoints)Create a patch list from a data stream, the returned list contains all the patches contained in the data stream. |
| pack-priv abstract Patch | Returns: a patch instance12 or 16 control points points, float[][] 4 corner colors color)Create a patch using control points and 4 corner color values, in Type6ShadingContext, a CoonsPatch is returned; in Type6ShadingContext, a TensorPatch is returned. |
| public abstract Rectangle2D | getBounds(AffineTransform
the affine transformation xform, Matrix the pattern matrix matrix)Overrides org. Calculate a bounding rectangle around the areas of this shading context. |
| pack-priv Rectangle2D | |
| protected Patch | Returns: a single patchthe image source data stream input, boolean whether this is a free patch isFree, Point2D[] implicit edge when a patch is not free, otherwise it's not used implicitEdge, float[][] implicit colors when a patch is not free, otherwise it's not used implicitCornerColor, long the maximum coordinate value calculated from source data maxSrcCoord, long the maximum color value calculated from source data maxSrcColor, PDRange range for coordinate x rangeX, PDRange range for coordinate y rangeY, PDRange[] range for color colRange, Matrix the pattern matrix concatenated with that of the parent content stream matrix, AffineTransform transformation for user to device space xform, int number of control points, 12 for type 6 shading and 16 for type 7 shading controlPoints)Read a single patch from a data stream, a patch contains information of its coordinates and color parameters. |
| LOG | back to summary |
|---|---|
| private static final Log LOG Hides org. | |
| PDMeshBasedShadingType | back to summary |
|---|---|
| pack-priv PDMeshBasedShadingType(COSDictionary shadingDictionary) | |
| collectPatches | back to summary |
|---|---|
| pack-priv final List Create a patch list from a data stream, the returned list contains all the patches contained in the data stream.
| |
| generatePatch | back to summary |
|---|---|
| pack-priv abstract Patch generatePatch(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. | |
| getBounds | back to summary |
|---|---|
| public abstract Rectangle2D getBounds(AffineTransform xform, Matrix matrix) throws IOException Overrides org. Doc from org. Calculate a bounding rectangle around the areas of this shading context.
| |
| getBounds | back to summary |
|---|---|
| pack-priv Rectangle2D getBounds(AffineTransform xform, Matrix matrix, int controlPoints) throws IOException | |
| readPatch | back to summary |
|---|---|
| protected Patch readPatch(ImageInputStream input, boolean isFree, Point2D[] implicitEdge, float[][] implicitCornerColor, long maxSrcCoord, long maxSrcColor, PDRange rangeX, PDRange rangeY, PDRange[] colRange, Matrix matrix, AffineTransform xform, int controlPoints) throws IOException Read a single patch from a data stream, a patch contains information of its coordinates and color parameters.
| |