| Access | Constructor and Description |
|---|---|
| public | PDShadingType6(COSDictionary
the dictionary for this shading shadingDictionary)Constructor using the given shading dictionary. |
| Modifier and Type | Method and Description |
|---|---|
| protected Patch | generatePatch(Point2D[]
12 or 16 control points points, float[][] 4 corner colors color)Implements abstract org. Create a patch using control points and 4 corner color values, in Type6ShadingContext, a CoonsPatch is returned; in Type6ShadingContext, a TensorPatch is returned. |
| public Rectangle2D | getBounds(AffineTransform
the affine transformation xform, Matrix the pattern matrix matrix)Implements abstract org. Calculate a bounding rectangle around the areas of this shading context. |
| public int | getShadingType()
Overrides org. This will return the shading type. |
| 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. Returns an AWT paint which corresponds to this shading |
| PDShadingType6 | back to summary |
|---|---|
| public PDShadingType6(COSDictionary shadingDictionary) Constructor using the given shading dictionary.
| |
| generatePatch | back to summary |
|---|---|
| protected Patch generatePatch(Point2D[] points, float[][] color) Implements abstract org. Doc from org. 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 Rectangle2D getBounds(AffineTransform xform, Matrix matrix) throws IOException Implements abstract org. Doc from org. Calculate a bounding rectangle around the areas of this shading context.
| |
| getShadingType | back to summary |
|---|---|
| public int getShadingType() Overrides org. Doc from org. This will return the shading type.
| |
| toPaint | back to summary |
|---|---|
| public Paint toPaint(Matrix matrix) Overrides org. Doc from org. Returns an AWT paint which corresponds to this shading | |