| Modifier and Type | Field and Description |
|---|---|
| private List | triangleList
triangle list. |
| Access | Constructor and Description |
|---|---|
| protected | GouraudShadingContext(PDShading
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)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. |
| pack-priv final void |
| triangleList | back to summary |
|---|---|
| private List<ShadedTriangle> triangleList triangle list. | |
| GouraudShadingContext | back to summary |
|---|---|
| protected GouraudShadingContext(PDShading shading, ColorModel colorModel, AffineTransform xform, Matrix matrix) 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.
| |
| setTriangleList | back to summary |
|---|---|
| pack-priv final void setTriangleList(List<ShadedTriangle> triangleList) | |