|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.icepdf.core.pobjects.Dictionary
org.icepdf.core.pobjects.graphics.ShadingPattern
org.icepdf.core.pobjects.graphics.ShadingType2Pattern
org.icepdf.core.pobjects.graphics.ShadingType1Pattern
public class ShadingType1Pattern
In Type 1 (function-based) shadings, the colour at every point in the domain is defined by a specified mathematical function. The function need not be smooth or continuous. This type is the most general of the available shading types and is useful for shadings that cannot be adequately described with any of the other types. Table 79 shows the shading dictionary entries specific to this type of shading, in addition to those common to all shading dictionaries
| Field Summary |
|---|
| Fields inherited from class org.icepdf.core.pobjects.graphics.ShadingType2Pattern |
|---|
coords, domain, extend, function |
| Fields inherited from class org.icepdf.core.pobjects.graphics.ShadingPattern |
|---|
antiAlias, ANTIALIAS_KEY, background, BACKGROUND_KEY, bBox, BBOX_KEY, colorSpace, COLORSPACE_KEY, COORDS_KEY, DOMAIN_KEY, EXTEND_KEY, extGState, EXTGSTATE_KEY, FUNCTION_KEY, inited, matrix, MATRIX_KEY, PATTERN_TYPE_KEY, patternType, shading, SHADING_KEY, SHADING_PATTERN_TYPE_1, SHADING_PATTERN_TYPE_2, SHADING_PATTERN_TYPE_3, SHADING_PATTERN_TYPE_4, SHADING_PATTERN_TYPE_5, SHADING_PATTERN_TYPE_6, SHADING_TYPE_KEY, shadingType, type |
| Fields inherited from class org.icepdf.core.pobjects.Dictionary |
|---|
entries, FORM_TYPE_KEY, isDeleted, isNew, LENGTH_KEY, library, SUBTYPE_KEY, TYPE_KEY |
| Fields inherited from interface org.icepdf.core.pobjects.graphics.Pattern |
|---|
PATTERN_TYPE_SHADING, PATTERN_TYPE_TILING, TYPE_VALUE |
| Constructor Summary | |
|---|---|
ShadingType1Pattern(Library library,
java.util.HashMap entries)
|
|
| Method Summary | |
|---|---|
java.awt.Paint |
getPaint()
Not implemented |
void |
init()
Initialized shading dictionary attributes. |
java.lang.String |
toSting()
|
| Methods inherited from class org.icepdf.core.pobjects.graphics.ShadingType2Pattern |
|---|
calculateColorPoints, calculateDomainEntries, toString |
| Methods inherited from class org.icepdf.core.pobjects.graphics.ShadingPattern |
|---|
getBackground, getBBox, getColorSpace, getExtGState, getMatrix, getPatternType, getShadingPattern, getShadingPattern, getShadingType, getType, isAntiAlias, isInited, setMatrix, setParentGraphicState, setShading |
| Methods inherited from class org.icepdf.core.pobjects.Dictionary |
|---|
getEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, isDeleted, isNew, setDeleted, setNew, setPObjectReference |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ShadingType1Pattern(Library library,
java.util.HashMap entries)
| Method Detail |
|---|
public void init()
ShadingPattern
init in interface Patterninit in class ShadingType2Patternpublic java.awt.Paint getPaint()
getPaint in interface PatterngetPaint in class ShadingType2Patternpublic java.lang.String toSting()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||