ExtendedGraphicState Class Documentation
classExtendedGraphicStateNamespace: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
DisposeChildren
voidDisposeChildren()Returns:
void[static initializer]
static void[static initializer]()delete
synchronized voiddelete(Booleandisposing)Parameters
disposing: Boolean
Returns:
synchronized voiddelete
synchronized voiddelete()Returns:
synchronized voidfinalize
voidfinalize()Returns:
voidgetAlphaIsShape
booleangetAlphaIsShape()Returns:
alphaIsShape - 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
booleangetApplyAutoStroke()Returns:
applyAutoStrokeAdjustment - whether it is enabled, true or false.Returns whether stroke adjustment is enabled in the graphics state.
getApplyOverprintForOtherThanStroking
booleangetApplyOverprintForOtherThanStroking()Returns:
applyOverprintForOtherThanStrokingSpecifies if overprint is enabled for operations other than stroking.
getApplyOverprintForStroking
booleangetApplyOverprintForStroking()Returns:
applyOverprintForStrokingSpecifies if overprint is enabled for stroke operations.
getBlackGeneration
FunctiongetBlackGeneration()Returns:
function - the black generation function.Gets the black generation function.
getBlendMode
BlendModegetBlendMode()Returns:
blendMode - the blend mode used in object painting.Returns the blend mode for the color composite for each object painted.
getOpacityForOtherThanStroking
doublegetOpacityForOtherThanStroking()Returns:
opacity, a value between 0.0 and 1.0.Gets the opacity value for other-than-stroke operations.
getOpacityForStroking
doublegetOpacityForStroking()Returns:
opacity, a value between 0.0 and 1.0.Gets the opacity value for stroke operations.
getOverprintMode
OverprintModegetOverprintMode()Returns:
overprintMode - the mode setting.Specifies the overprint mode - specifying whether a color component value of 0 in a DeviceCMYK color space should erase that component or leave it unchanged when overprinting.
getPDFDict
PDFDictgetPDFDict()Returns:
The dictionary associated with the extended graphic state.Get the dictionary associated with the extended graphic state.
getSmoothnessTolerance
doublegetSmoothnessTolerance()Returns:
tolerance, a value between 0.0 and 1.0.Gets the smoothness tolerance, the quality of smooth shading.
getTextKnockout
booleangetTextKnockout()Returns:
enabled - if true, text knockout is enabled.Returns whether text knockout is enabled in the graphics state.
getTransferFunction
java.util.List< Function >getTransferFunction()Returns:
function - the transfer function.Gets the transfer function.
getUndercolorRemoval
FunctiongetUndercolorRemoval()Returns:
function - the undercolor removal function.Gets the undercolor removal function.
setAlphaIsShape
voidsetAlphaIsShape(booleanalphaIsShape)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
voidsetApplyAutoStroke(booleanapplyAutoStrokeAdjustment)Parameters
applyAutoStrokeAdjustment: booleanwhether it is enabled, true or false.
Returns:
voidSpecifies whether stroke adjustment is enabled in the graphics state.
setApplyOverprintForOtherThanStroking
voidsetApplyOverprintForOtherThanStroking(booleanapplyOverprintForOtherThanStroking)Parameters
applyOverprintForOtherThanStroking: booleanwhether to enable overprint for stroke operations.
Returns:
voidSpecifies if overprint is enabled for operations other than stroking.
setApplyOverprintForStroking
voidsetApplyOverprintForStroking(booleanapplyOverprintForStroking)Parameters
applyOverprintForStroking: booleanwhether to enable overprint for stroke operations.
Returns:
voidSpecifies if overprint is enabled for stroke operations.
setBlackGeneration
voidsetBlackGeneration(Functionfunction)Parameters
function: Functionthe black generation function.
Returns:
voidSets the black generation function.
setBlendMode
voidsetBlendMode(BlendModeblendMode)Parameters
blendMode: BlendModethe blend mode used in object painting.
Returns:
voidSets the blend mode for the color composites for each object painted.
setOpacityForOtherThanStroking
voidsetOpacityForOtherThanStroking(doubleopacity)Parameters
opacity: doublethe opacity level, from 0.0 to 1.0, inclusive.
Returns:
voidSets the opacity value for other-than-stroke operations.
setOpacityForStroking
voidsetOpacityForStroking(doubleopacity)Parameters
opacity: doublethe opacity level, from 0.0 to 1.0, inclusive.
Returns:
voidSets the opacity value for stroke operations.
setOverprintMode
voidsetOverprintMode(OverprintModeoverprintMode)Parameters
overprintMode: OverprintModethe mode setting.
Returns:
voidSpecifies the overprint mode - specifying whether a color component value of 0 in a DeviceCMYK color space should erase that component or leave it unchanged when overprinting.
setSmoothnessTolerance
voidsetSmoothnessTolerance(doubletolerance)Parameters
tolerance: doublethe smoothness tolerance, from 0.0 to 1.0, inclusive.
Returns:
voidSets the smoothness tolerance, the quality of smooth shading.
setTextKnockout
voidsetTextKnockout(booleanenabled)Parameters
enabled: booleanif set true, text knockout will be enabled.
Returns:
voidSpecifies whether text knockout is enabled in the graphics state.
setTransferFunction
voidsetTransferFunction(java.util.List< Function >function)Parameters
function: java.util.List< Function >the transfer function.
Returns:
voidSets the transfer function.
setUndercolorRemoval
voidsetUndercolorRemoval(Functionfunction)Parameters
function: Functionthe undercolor removal function.
Returns:
voidSets the undercolor removal function.