ExtendedGraphicState Class Documentation
class ExtendedGraphicStateNamespace:com::datalogics::PDFL
Detailed Description
The extended graphic state, to supplement original graphic state. The Graphics State is an internal data structure in a PDF file that holds the parameters that describe graphics within that file. These parameters define how individual graphics are presented on the page, including layers and transparencies.
The Extended Graphic State was introduced to expand the original Graphics State data structure, providing space to define and store more data objects within a PDF.
Referenced by
Constructor & Destructor Documentation
ExtendedGraphicState
ExtendedGraphicState()Create a new default ExtendedGraphicState for the document in which this ExtendedGraphicState will be used.
Member Function Documentation
delete
synchronized void delete(Boolean disposing)Parameters
disposing: Boolean
Returns:
synchronized voiddelete
synchronized void delete()Returns:
synchronized voidfinalize
void finalize()Returns:
voidgetAlphaIsShape
boolean getAlphaIsShape()Returns:
booleanalphaIsShape - if set true, interpret sources of alpha as shape, else interpret as opacity mask.
Returns if the alpha is to be interpreted as a shape or opacity mask.
getApplyAutoStroke
boolean getApplyAutoStroke()Returns:
booleantrue if stroke adjustment is enabled.
Returns whether stroke adjustment is enabled in the graphics state.
getApplyOverprintForOtherThanStroking
boolean getApplyOverprintForOtherThanStroking()Returns:
booleantrue if overprint is enabled for non-stroke operations.
Returns whether overprint is enabled for operations other than stroking.
getApplyOverprintForStroking
boolean getApplyOverprintForStroking()Returns:
booleantrue if overprint is enabled for stroke operations.
Returns whether overprint is enabled for stroke operations.
getBlackGeneration
Function getBlackGeneration()Returns:
Functionfunction - the black generation function.
Gets the black generation function.
getBlendMode
BlendMode getBlendMode()Returns:
BlendModeblendMode - the blend mode used in object painting.
Returns the blend mode for the color composite for each object painted.
getOpacityForOtherThanStroking
double getOpacityForOtherThanStroking()Returns:
doubleopacity, a value between 0.0 and 1.0.
Gets the opacity value for other-than-stroke operations.
getOpacityForStroking
double getOpacityForStroking()Returns:
doubleopacity, a value between 0.0 and 1.0.
Gets the opacity value for stroke operations.
getOverprintMode
OverprintMode getOverprintMode()Returns:
OverprintModeThe overprint mode setting.
Returns the overprint mode setting. Specifies whether a color component value of 0 in a DeviceCMYK color space should erase that component or leave it unchanged when overprinting.
getPDFDict
PDFDict getPDFDict()Returns:
PDFDictThe dictionary associated with the extended graphic state.
Get the dictionary associated with the extended graphic state.
getSmoothnessTolerance
double getSmoothnessTolerance()Returns:
doubletolerance, a value between 0.0 and 1.0.
Gets the smoothness tolerance, the quality of smooth shading.
getTextKnockout
boolean getTextKnockout()Returns:
booleanenabled - if true, text knockout is enabled.
Returns whether text knockout is enabled in the graphics state.
getTransferFunction
java.util.List< Function > getTransferFunction()Returns:
java.util.List< Function >function - the transfer function.
Gets the transfer function.
getUndercolorRemoval
Function getUndercolorRemoval()Returns:
Functionfunction - the undercolor removal function.
Gets the undercolor removal function.
setAlphaIsShape
void setAlphaIsShape(boolean alphaIsShape)Parameters
alphaIsShape: booleanif set true, interpret sources of alpha as shape, else interpret as opacity mask.
Returns:
voidSpecifies if the alpha is to be interpreted as a shape or opacity mask.
setApplyAutoStroke
void setApplyAutoStroke(boolean applyAutoStrokeAdjustment)Parameters
applyAutoStrokeAdjustment: booleanWhether stroke adjustment is enabled.
Returns:
voidSpecifies whether stroke adjustment is enabled in the graphics state.
setApplyOverprintForOtherThanStroking
void setApplyOverprintForOtherThanStroking(boolean applyOverprintForOtherThanStroking)Parameters
applyOverprintForOtherThanStroking: booleanWhether to enable overprint for non-stroke operations.
Returns:
voidSpecifies if overprint is enabled for operations other than stroking.
setApplyOverprintForStroking
void setApplyOverprintForStroking(boolean applyOverprintForStroking)Parameters
applyOverprintForStroking: booleanWhether to enable overprint for stroke operations.
Returns:
voidSpecifies if overprint is enabled for stroke operations.
setBlackGeneration
void setBlackGeneration(Function function)Parameters
function: Functionthe black generation function.
Returns:
voidSets the black generation function.
setBlendMode
void setBlendMode(BlendMode blendMode)Parameters
blendMode: BlendModethe blend mode used in object painting.
Returns:
voidSets the blend mode for the color composites for each object painted.
setOpacityForOtherThanStroking
void setOpacityForOtherThanStroking(double opacity)Parameters
opacity: doublethe opacity level, from 0.0 to 1.0, inclusive.
Returns:
voidSets the opacity value for other-than-stroke operations.
setOpacityForStroking
void setOpacityForStroking(double opacity)Parameters
opacity: doublethe opacity level, from 0.0 to 1.0, inclusive.
Returns:
voidSets the opacity value for stroke operations.
setOverprintMode
void setOverprintMode(OverprintMode overprintMode)Parameters
overprintMode: OverprintModeThe mode setting.
Returns:
voidThe overprint mode setting. Specifies whether a color component value of 0 in a DeviceCMYK color space should erase that component or leave it unchanged when overprinting.
setSmoothnessTolerance
void setSmoothnessTolerance(double tolerance)Parameters
tolerance: doublethe smoothness tolerance, from 0.0 to 1.0, inclusive.
Returns:
voidSets the smoothness tolerance, the quality of smooth shading.
setTextKnockout
void setTextKnockout(boolean enabled)Parameters
enabled: booleanif set true, text knockout will be enabled.
Returns:
voidSpecifies whether text knockout is enabled in the graphics state.
setTransferFunction
void setTransferFunction(java.util.List< Function > function)Parameters
function: java.util.List< Function >the transfer function.
Returns:
voidSets the transfer function.
setUndercolorRemoval
void setUndercolorRemoval(Function function)Parameters
function: Functionthe undercolor removal function.
Returns:
voidSets the undercolor removal function.