| Access | Constructor and Description |
|---|---|
| protected | PatchMeshesShadingContext(PDMeshBasedShadingType
the shading type to be used shading, ColorModel the color model to be used colorModel, AffineTransform transformation for user to device space xform, Matrix the pattern matrix concatenated with that of the parent content stream matrix, Rectangle device bounds deviceBounds, int number of control points, 12 for type 6 shading and 16 for type 7 shading controlPoints)Constructor creates an instance to be used for fill operations. |
| Modifier and Type | Method and Description |
|---|---|
| protected Map | calcPixelTable(Rectangle deviceBounds)
Implements abstract org. Calculate every point and its color and store them in a Hash table. |
| protected int[][] | calcPixelTableArray(Rectangle deviceBounds)
Implements abstract org. Calculate every point and its color and store them in a two-dimensional array. |
| public void | dispose()
Overrides org. Implements java. Releases the resources allocated for the operation. |
| protected boolean | isDataEmpty()
Implements abstract org. Returns true if the shading has an empty data stream. |
| patchList | back to summary |
|---|---|
| private List<Patch> patchList patch list | |
| PatchMeshesShadingContext | back to summary |
|---|---|
| protected PatchMeshesShadingContext(PDMeshBasedShadingType shading, ColorModel colorModel, AffineTransform xform, Matrix matrix, Rectangle deviceBounds, int controlPoints) throws IOException Constructor creates an instance to be used for fill operations.
| |
| calcPixelTable | back to summary |
|---|---|
| protected Map Implements abstract org. Doc from org. Calculate every point and its color and store them in a Hash table. | |
| calcPixelTableArray | back to summary |
|---|---|
| protected int[][] calcPixelTableArray(Rectangle deviceBounds) throws IOException Implements abstract org. Doc from org. Calculate every point and its color and store them in a two-dimensional array.
| |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides org. Implements java. Doc from java. Releases the resources allocated for the operation.
| |
| isDataEmpty | back to summary |
|---|---|
| protected boolean isDataEmpty() Implements abstract org. Doc from org. Returns true if the shading has an empty data stream.
| |