ExtendedGraphicState Class Documentation

class ExtendedGraphicState

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

delete

synchronized void delete(Boolean disposing)

Parameters

disposing: Boolean

Returns:

synchronized void

delete

synchronized void delete()

Returns:

synchronized void

finalize

void finalize()

Returns:

void

getAlphaIsShape

boolean getAlphaIsShape()

Returns:

boolean

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

boolean getApplyAutoStroke()

Returns:

boolean

true if stroke adjustment is enabled.

Returns whether stroke adjustment is enabled in the graphics state.

getApplyOverprintForOtherThanStroking

boolean getApplyOverprintForOtherThanStroking()

Returns:

boolean

true if overprint is enabled for non-stroke operations.

Returns whether overprint is enabled for operations other than stroking.

getApplyOverprintForStroking

boolean getApplyOverprintForStroking()

Returns:

boolean

true if overprint is enabled for stroke operations.

Returns whether overprint is enabled for stroke operations.

getBlackGeneration

Function getBlackGeneration()

Returns:

Function

function - the black generation function.

Gets the black generation function.

getBlendMode

BlendMode getBlendMode()

Returns:

BlendMode

blendMode - the blend mode used in object painting.

Returns the blend mode for the color composite for each object painted.

getOpacityForOtherThanStroking

double getOpacityForOtherThanStroking()

Returns:

double

opacity, a value between 0.0 and 1.0.

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

getOpacityForStroking

double getOpacityForStroking()

Returns:

double

opacity, a value between 0.0 and 1.0.

Gets the opacity value for stroke operations.

getOverprintMode

OverprintMode getOverprintMode()

Returns:

OverprintMode

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

PDFDict

The dictionary associated with the extended graphic state.

Get the dictionary associated with the extended graphic state.

getSmoothnessTolerance

double getSmoothnessTolerance()

Returns:

double

tolerance, a value between 0.0 and 1.0.

Gets the smoothness tolerance, the quality of smooth shading.

getTextKnockout

boolean getTextKnockout()

Returns:

boolean

enabled - if true, text knockout is enabled.

Returns whether text knockout is enabled in the graphics state.

getUndercolorRemoval

Function getUndercolorRemoval()

Returns:

Function

function - the undercolor removal function.

Gets the undercolor removal function.

setAlphaIsShape

void setAlphaIsShape(boolean alphaIsShape)

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

void setApplyAutoStroke(boolean applyAutoStrokeAdjustment)

Parameters

applyAutoStrokeAdjustment: boolean

Whether stroke adjustment is enabled.

Returns:

void

Specifies whether stroke adjustment is enabled in the graphics state.

setApplyOverprintForOtherThanStroking

void setApplyOverprintForOtherThanStroking(boolean applyOverprintForOtherThanStroking)

Parameters

applyOverprintForOtherThanStroking: boolean

Whether to enable overprint for non-stroke operations.

Returns:

void

Specifies if overprint is enabled for operations other than stroking.

setApplyOverprintForStroking

void setApplyOverprintForStroking(boolean applyOverprintForStroking)

Parameters

applyOverprintForStroking: boolean

Whether to enable overprint for stroke operations.

Returns:

void

Specifies if overprint is enabled for stroke operations.

setBlackGeneration

void setBlackGeneration(Function function)

Parameters

function: Function

the black generation function.

Returns:

void

Sets the black generation function.

setBlendMode

void setBlendMode(BlendMode blendMode)

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

void setOpacityForOtherThanStroking(double opacity)

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

void setOpacityForStroking(double opacity)

Parameters

opacity: double

the opacity level, from 0.0 to 1.0, inclusive.

Returns:

void

Sets the opacity value for stroke operations.

setOverprintMode

void setOverprintMode(OverprintMode overprintMode)

Parameters

overprintMode: OverprintMode

The mode setting.

Returns:

void

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.

setSmoothnessTolerance

void setSmoothnessTolerance(double tolerance)

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

void setTextKnockout(boolean enabled)

Parameters

enabled: boolean

if set true, text knockout will be enabled.

Returns:

void

Specifies whether text knockout is enabled in the graphics state.

setUndercolorRemoval

void setUndercolorRemoval(Function function)

Parameters

function: Function

the undercolor removal function.

Returns:

void

Sets the undercolor removal function.