ExtendedGraphicState Class Documentation

classExtendedGraphicState

Namespace: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

Uses types

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 void

delete

synchronized voiddelete()

Returns:

synchronized void

finalize

voidfinalize()

Returns:

void

getAlphaIsShape

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:

applyOverprintForOtherThanStroking

Specifies if overprint is enabled for operations other than stroking.

getApplyOverprintForStroking

booleangetApplyOverprintForStroking()

Returns:

applyOverprintForStroking

Specifies 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: boolean

if set true, interpret sources of alpha as shape, else interpret as opacity mask.

Returns:

void

Specifies if the alpha is to be interpreted as a shape or opacity mask.

setApplyAutoStroke

voidsetApplyAutoStroke(booleanapplyAutoStrokeAdjustment)

Parameters

applyAutoStrokeAdjustment: boolean

whether it is enabled, true or false.

Returns:

void

Specifies whether stroke adjustment is enabled in the graphics state.

setApplyOverprintForOtherThanStroking

voidsetApplyOverprintForOtherThanStroking(booleanapplyOverprintForOtherThanStroking)

Parameters

applyOverprintForOtherThanStroking: boolean

whether to enable overprint for stroke operations.

Returns:

void

Specifies if overprint is enabled for operations other than stroking.

setApplyOverprintForStroking

voidsetApplyOverprintForStroking(booleanapplyOverprintForStroking)

Parameters

applyOverprintForStroking: boolean

whether to enable overprint for stroke operations.

Returns:

void

Specifies if overprint is enabled for stroke operations.

setBlackGeneration

voidsetBlackGeneration(Functionfunction)

Parameters

function: Function

the black generation function.

Returns:

void

Sets the black generation function.

setBlendMode

voidsetBlendMode(BlendModeblendMode)

Parameters

blendMode: BlendMode

the blend mode used in object painting.

Returns:

void

Sets the blend mode for the color composites for each object painted.

setOpacityForOtherThanStroking

voidsetOpacityForOtherThanStroking(doubleopacity)

Parameters

opacity: double

the opacity level, from 0.0 to 1.0, inclusive.

Returns:

void

Sets the opacity value for other-than-stroke operations.

setOpacityForStroking

voidsetOpacityForStroking(doubleopacity)

Parameters

opacity: double

the opacity level, from 0.0 to 1.0, inclusive.

Returns:

void

Sets the opacity value for stroke operations.

setOverprintMode

voidsetOverprintMode(OverprintModeoverprintMode)

Parameters

overprintMode: OverprintMode

the mode setting.

Returns:

void

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.

setSmoothnessTolerance

voidsetSmoothnessTolerance(doubletolerance)

Parameters

tolerance: double

the smoothness tolerance, from 0.0 to 1.0, inclusive.

Returns:

void

Sets the smoothness tolerance, the quality of smooth shading.

setTextKnockout

voidsetTextKnockout(booleanenabled)

Parameters

enabled: boolean

if set true, text knockout will be enabled.

Returns:

void

Specifies whether text knockout is enabled in the graphics state.

setUndercolorRemoval

voidsetUndercolorRemoval(Functionfunction)

Parameters

function: Function

the undercolor removal function.

Returns:

void

Sets the undercolor removal function.